Skip to content

Commit

Permalink
Fix links in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexhuszagh committed Sep 16, 2024
1 parent 0a5403a commit fd3baac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lexical-util/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
//! correctly.
//!
//! To see if the cursor is at the end of the buffer, use
//! [is_buffer_empty][crate::iterator::Iter::is_buffer_empty].
//! [is_buffer_empty][is_buffer_empty].
//!
//! Any iterators must be peekable: you must be able to read and return the next
//! value without advancing the iterator past that point. For iterators that
Expand Down Expand Up @@ -95,9 +95,9 @@
//! }
//! ```
//!
//! [is_buffer_empty]: iterator::Iter::is_buffer_empty
//! [is_consumed]: iterator::DigitsIter::is_consumed
//! [peek]: iterator::DigitsIter::peek
//! [is_buffer_empty]: <https://github.com/Alexhuszagh/rust-lexical/blob/8fe1d9a/lexical-util/src/iterator.rs#76>
//! [is_consumed]: <https://github.com/Alexhuszagh/rust-lexical/blob/8fe1d9a/lexical-util/src/iterator.rs#L276>
//! [peek]: <https://github.com/Alexhuszagh/rust-lexical/blob/8fe1d9a/lexical-util/src/iterator.rs#L284>

// We want to have the same safety guarantees as Rust core,
// so we allow unused unsafe to clearly document safety guarantees.
Expand Down

0 comments on commit fd3baac

Please sign in to comment.