diff options
Diffstat (limited to 'openpgp/src/packet/userid.rs')
-rw-r--r-- | openpgp/src/packet/userid.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/packet/userid.rs b/openpgp/src/packet/userid.rs index 63426e22..139f3cff 100644 --- a/openpgp/src/packet/userid.rs +++ b/openpgp/src/packet/userid.rs @@ -59,7 +59,7 @@ impl ConventionallyParsedUserID { } fn parse(userid: String) -> Result<Self> { - lazy_static!{ + lazy_static::lazy_static!{ static ref USER_ID_PARSER: Regex = { // Whitespace. let ws_bare = " "; @@ -696,7 +696,7 @@ impl UserID { /// [conventional User ID]: #conventional-user-ids /// /// ``` - /// # extern crate sequoia_openpgp as openpgp; + /// # use sequoia_openpgp as openpgp; /// # use openpgp::packet::UserID; /// assert_eq!(UserID::from_address( /// "John Smith".into(), @@ -729,7 +729,7 @@ impl UserID { /// [conventional User ID]: #conventional-user-ids /// /// ``` - /// # extern crate sequoia_openpgp as openpgp; + /// # use sequoia_openpgp as openpgp; /// # use openpgp::packet::UserID; /// assert_eq!(UserID::from_unchecked_address( /// "NAS".into(), |