From 0f7696236b6b4d1011cefc860da332ffe11b1b1f Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 25 Feb 2023 14:30:11 +0100 Subject: refactor: improve errors --- src/description.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/description.rs') 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. -- cgit v1.2.3-18-g5258