mirror of
https://github.com/uuid-rs/uuid.git
synced 2025-09-28 13:31:58 +00:00
fix up non nil docs
This commit is contained in:
parent
38df005749
commit
b12c6909d0
@ -87,9 +87,8 @@ impl From<NonNilUuid> for Uuid {
|
||||
///
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// use uuid::{non_nil::NonNilUuid, Uuid};
|
||||
/// use std::convert::TryFrom;
|
||||
///
|
||||
/// # use std::convert::TryFrom;
|
||||
/// # use uuid::{NonNilUuid, Uuid};
|
||||
/// let uuid = Uuid::from_u128(0x0123456789abcdef0123456789abcdef);
|
||||
/// let non_nil = NonNilUuid::try_from(uuid).unwrap();
|
||||
/// let uuid_again = Uuid::from(non_nil);
|
||||
@ -108,9 +107,8 @@ impl TryFrom<Uuid> for NonNilUuid {
|
||||
///
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// use uuid::{non_nil::NonNilUuid, Uuid};
|
||||
/// use std::convert::TryFrom;
|
||||
///
|
||||
/// # use std::convert::TryFrom;
|
||||
/// # use uuid::{NonNilUuid, Uuid};
|
||||
/// let uuid = Uuid::from_u128(0x0123456789abcdef0123456789abcdef);
|
||||
/// let non_nil = NonNilUuid::try_from(uuid).unwrap();
|
||||
/// ```
|
||||
|
Loading…
x
Reference in New Issue
Block a user