From b12487a5b1261cf21417983307495c921c943206 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Mon, 10 Jun 2019 22:54:52 +0200 Subject: [PATCH] =?UTF-8?q?Standardise=20the=20casing=20of=20=E2=80=9Cfull?= =?UTF-8?q?=20JID=E2=80=9D=20and=20=E2=80=9Cbare=20JID=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 05ea4817..8ef7a3d1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -70,9 +70,9 @@ impl From for String { } } -/// A struct representing a Full Jabber ID. +/// A struct representing a full Jabber ID. /// -/// A Full Jabber ID is composed of 3 components, of which one is optional: +/// A full Jabber ID is composed of 3 components, of which one is optional: /// /// - A node/name, `node`, which is the optional part before the @. /// - A domain, `domain`, which is the mandatory part after the @ but before the /. @@ -87,9 +87,9 @@ pub struct FullJid { pub resource: String, } -/// A struct representing a Bare Jabber ID. +/// A struct representing a bare Jabber ID. /// -/// A Bare Jabber ID is composed of 2 components, of which one is optional: +/// A bare Jabber ID is composed of 2 components, of which one is optional: /// /// - A node/name, `node`, which is the optional part before the @. /// - A domain, `domain`, which is the mandatory part after the @ but before the /. @@ -252,7 +252,7 @@ impl FromStr for FullJid { } impl FullJid { - /// Constructs a Full Jabber ID containing all three components. + /// Constructs a full Jabber ID containing all three components. /// /// This is of the form `node`@`domain`/`resource`. /// @@ -332,7 +332,7 @@ impl FullJid { } } - /// Constructs a Full Jabber ID from a Bare Jabber ID, specifying a `resource`. + /// Constructs a full Jabber ID from a bare Jabber ID, specifying a `resource`. /// /// # Examples /// @@ -372,7 +372,7 @@ impl FromStr for BareJid { } impl BareJid { - /// Constructs a Bare Jabber ID, containing two components. + /// Constructs a bare Jabber ID, containing two components. /// /// This is of the form `node`@`domain`. /// @@ -397,7 +397,7 @@ impl BareJid { } } - /// Constructs a Bare Jabber ID containing only a `domain`. + /// Constructs a bare Jabber ID containing only a `domain`. /// /// This is of the form `domain`. /// @@ -471,7 +471,7 @@ impl BareJid { } } - /// Constructs a Full Jabber ID from a Bare Jabber ID, specifying a `resource`. + /// Constructs a full Jabber ID from a bare Jabber ID, specifying a `resource`. /// /// # Examples ///