diff options
author | Blaž Hrastnik | 2021-02-18 09:45:41 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-02-18 09:45:41 +0000 |
commit | 4ab5631d6521ffae6b31e9b9c72dd31a49e793ce (patch) | |
tree | fbfd16a36801bdbd8ae642326033e95aa9fc0ec1 /helix-core/src/graphemes.rs | |
parent | 0827c45d9421ae946f35f994446829e37f73b711 (diff) |
more lints
Diffstat (limited to 'helix-core/src/graphemes.rs')
-rw-r--r-- | helix-core/src/graphemes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/graphemes.rs b/helix-core/src/graphemes.rs index e0693769..7e5424be 100644 --- a/helix-core/src/graphemes.rs +++ b/helix-core/src/graphemes.rs @@ -160,7 +160,7 @@ pub struct RopeGraphemes<'a> { } impl<'a> RopeGraphemes<'a> { - pub fn new<'b>(slice: RopeSlice<'b>) -> RopeGraphemes<'b> { + pub fn new(slice: RopeSlice) -> RopeGraphemes { let mut chunks = slice.chunks(); let first_chunk = chunks.next().unwrap_or(""); RopeGraphemes { |