Skip to content

Commit

Permalink
fix up non nil docs
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Jan 14, 2025
1 parent 38df005 commit b12c690
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/non_nil.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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();
/// ```
Expand Down

0 comments on commit b12c690

Please sign in to comment.