Skip to content

Commit

Permalink
docs: fix links in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ciffelia committed Apr 14, 2024
1 parent 84b4f95 commit 5ed8d9c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,15 @@ This type provides a safe way to generate and parse Nano IDs.
This is similar to [`uuid`](https://docs.rs/uuid) crate, which provides [`Uuid`](https://docs.rs/uuid/latest/uuid/struct.Uuid.html) type to represent UUIDs.

[`Nanoid::new`]: https://docs.rs/nid/latest/nid/struct.Nanoid.html#method.new
[`std::str::FromStr`]: https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html
[`TryFrom`]: https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html
[`Nanoid::try_from_str`]: https://docs.rs/nid/latest/nid/struct.Nanoid.html#method.try_from_str
[`std::str::FromStr`]: https://doc.rust-lang.org/std/str/trait.FromStr.html
[`TryFrom<String>`]: https://doc.rust-lang.org/std/convert/trait.TryFrom.html
[`nanoid`]: https://docs.rs/nid/latest/nid/macro.nanoid.html
[`alphabet`]: https://docs.rs/nid/latest/nid/alphabet/index.html
[`Nanoid`]: https://docs.rs/nid/latest/nid/struct.Nanoid.html
[`serde::Serialize`]: https://docs.rs/serde/latest/serde/ser/trait.Serialize.html
[`serde::Deserialize`]: https://docs.rs/serde/latest/serde/de/trait.Deserialize.html
[`zeroize::Zeroize`]: https://docs.rs/zeroize/latest/zeroize/trait.Zeroize.html

## License

Expand Down
8 changes: 6 additions & 2 deletions README.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@
{{readme}}

[`Nanoid::new`]: https://docs.rs/nid/latest/nid/struct.Nanoid.html#method.new
[`std::str::FromStr`]: https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html
[`TryFrom`]: https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html
[`Nanoid::try_from_str`]: https://docs.rs/nid/latest/nid/struct.Nanoid.html#method.try_from_str
[`std::str::FromStr`]: https://doc.rust-lang.org/std/str/trait.FromStr.html
[`TryFrom<String>`]: https://doc.rust-lang.org/std/convert/trait.TryFrom.html
[`nanoid`]: https://docs.rs/nid/latest/nid/macro.nanoid.html
[`alphabet`]: https://docs.rs/nid/latest/nid/alphabet/index.html
[`Nanoid`]: https://docs.rs/nid/latest/nid/struct.Nanoid.html
[`serde::Serialize`]: https://docs.rs/serde/latest/serde/ser/trait.Serialize.html
[`serde::Deserialize`]: https://docs.rs/serde/latest/serde/de/trait.Deserialize.html
[`zeroize::Zeroize`]: https://docs.rs/zeroize/latest/zeroize/trait.Zeroize.html

## License

Expand Down

0 comments on commit 5ed8d9c

Please sign in to comment.