From 6b1ad1ca9bd4e7f16b98d4a99c53bd9b6926f7a0 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Mon, 10 Jun 2019 22:49:57 +0200 Subject: [PATCH] Make the NoResource error description less ambiguous. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index fcd6f551..05ea4817 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,7 +20,7 @@ pub enum JidParseError { NoDomain, /// Happens when there is no resource, that is string contains no /. - #[fail(display = "no resource found in this JID")] + #[fail(display = "no resource found in this full JID")] NoResource, /// Happens when the node is empty, that is the string starts with a @.