diff options
author | HampusM <hampus@hampusmat.com> | 2023-02-25 14:30:11 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-02-25 14:30:11 +0100 |
commit | 0f7696236b6b4d1011cefc860da332ffe11b1b1f (patch) | |
tree | 7f23ccf1e774df73fd0b93027874c0d3474267a3 /src/description.rs | |
parent | b3fdb097b43b8fe3f02a6153a17f50274e009acb (diff) |
refactor: improve errors
Diffstat (limited to 'src/description.rs')
-rw-r--r-- | src/description.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/description.rs b/src/description.rs index ba37abc..d57dbc7 100644 --- a/src/description.rs +++ b/src/description.rs @@ -197,8 +197,8 @@ pub enum ParagraphPartError #[error("Input element is a comment")] InputIsComment, - /// A input element is a unknown reference description part. - #[error("Input element with name '{0}' is a unknown reference description part")] + /// A input element is a unknown description part. + #[error("Input element with name '{0}' is a unknown description part")] UnknownPart(String), /// No text was found in tagged input element. |