From 3848058472e65b7f8d092c44d61091a22a78bfa4 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 2 Jun 2020 10:49:28 +0900 Subject: clippy lint --- helix-core/src/graphemes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-core/src') diff --git a/helix-core/src/graphemes.rs b/helix-core/src/graphemes.rs index ec4e9d24..42e27b90 100644 --- a/helix-core/src/graphemes.rs +++ b/helix-core/src/graphemes.rs @@ -165,7 +165,7 @@ impl<'a> RopeGraphemes<'a> { let first_chunk = chunks.next().unwrap_or(""); RopeGraphemes { text: *slice, - chunks: chunks, + chunks, cur_chunk: first_chunk, cur_chunk_start: 0, cursor: GraphemeCursor::new(0, slice.len_bytes(), true), -- cgit v1.2.3-70-g09d2