aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/graphemes.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-06-02 01:49:28 +0000
committerBlaž Hrastnik2020-06-02 01:49:28 +0000
commit3848058472e65b7f8d092c44d61091a22a78bfa4 (patch)
tree59da3f5c32c864faa18e4e6f5b7d1d9036f566d9 /helix-core/src/graphemes.rs
parent6ed2f56a013e55ae2fa4b8de34d15015532acfbb (diff)
clippy lint
Diffstat (limited to 'helix-core/src/graphemes.rs')
-rw-r--r--helix-core/src/graphemes.rs2
1 files changed, 1 insertions, 1 deletions
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),