From a517c7d6d0d94bfc4f0f6c30ba41796e9bc3502a Mon Sep 17 00:00:00 2001 From: Thomas Eppers Date: Fri, 17 Feb 2023 16:23:01 +0100 Subject: [PATCH] added few documentation strings --- src/error.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/error.rs b/src/error.rs index c286c10..7839a8c 100644 --- a/src/error.rs +++ b/src/error.rs @@ -2,9 +2,11 @@ use thiserror::Error; #[derive(Debug, Error)] pub enum Error { + /// no valid tag found #[error("Expected a tag")] NoTagFound, + /// input that can't be interpreted #[error("Unexpected input")] MisformedInput,