Skip to content

Commit

Permalink
style: format the code in the src/input.rs file
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedgehogo committed Oct 26, 2024
1 parent faa0681 commit 99e4142
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,10 @@ impl<'src> Input<'src> for Graphemes<'src> {
if *cursor < this.len() {
// SAFETY: `cursor < self.len()` above guarantees cursor is in-bounds
// We only ever return cursors that are at a code point boundary.
// The `next()` implementation returns `None`, only in the
// situation of zero length of the remaining part of the string.
// And the Unicode standard guarantees that any sequence of code
// points is a valid sequence of grapheme clusters, so the
// The `next()` implementation returns `None`, only in the
// situation of zero length of the remaining part of the string.
// And the Unicode standard guarantees that any sequence of code
// points is a valid sequence of grapheme clusters, so the
// behaviour of the `next()` function should not change.
let c = this
.get_unchecked(*cursor..)
Expand Down

0 comments on commit 99e4142

Please sign in to comment.