Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ciffelia committed Apr 14, 2024
1 parent 5c3ac33 commit 258ddca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
//! const ID: Nanoid = nanoid!("9vZZWqFI_rTou3Mutq1LH");
//! ```
//!
//! The length of the Nano ID is 21 by default, but you can change it by specifying the generic parameter.
//! The length of the Nano ID is 21 by default. You can change it by specifying the generic parameter.
//!
//! ```
//! use nid::Nanoid;
Expand Down Expand Up @@ -78,8 +78,8 @@
//!
//! # Features
//!
//! - `serde`: Add support for serialization and deserialization of [`Nanoid`] using the [`serde`](https://docs.rs/serde) crate.
//! - `zeroize`: Add support for zeroizing the memory of [`Nanoid`] using the [`zeroize`](https://docs.rs/zeroize) crate.
//! - `serde`: Add support for serialization and deserialization of [`Nanoid`]. Implement [`serde::Serialize`] and [`serde::Deserialize`] for [`Nanoid`].
//! - `zeroize`: Add support for zeroizing the memory of [`Nanoid`]. Implement [`zeroize::Zeroize`] for [`Nanoid`].
//!
//! # Comparison with other implementations of Nano ID
//!
Expand Down Expand Up @@ -138,7 +138,7 @@ use alphabet::{Alphabet, AlphabetExt, Base64UrlAlphabet};
///
/// # Converting to a string
///
/// You can get the string representation of the Nano ID using the [`AsRef`] or [`Display`](std::fmt::Display) trait.
/// You can get the string representation of the Nano ID using the [`AsRef<str>`] or [`Display`](std::fmt::Display) trait.
///
/// ```
/// use nid::Nanoid;
Expand Down

0 comments on commit 258ddca

Please sign in to comment.