Make the NoResource error description less ambiguous.
This commit is contained in:
parent
6b17aacd8e
commit
6b1ad1ca9b
1 changed files with 1 additions and 1 deletions
|
@ -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 @.
|
||||
|
|
Loading…
Reference in a new issue