Skip to content

Commit

Permalink
feat: implement StrInput for &Graphemes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedgehogo committed Dec 8, 2024
1 parent f0bfbb2 commit 567e26d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,9 @@ pub mod unicode {
}
}

impl Sealed for &'_ Graphemes {}
impl<'src> StrInput<'src> for &'src Graphemes {}

impl<'src> Input<'src> for &'src Graphemes {
type Cursor = usize;
type Span = SimpleSpan<usize>;
Expand Down

0 comments on commit 567e26d

Please sign in to comment.