clippy lint

This commit is contained in:
Blaž Hrastnik 2020-06-02 10:49:28 +09:00
parent 6ed2f56a01
commit 3848058472

View file

@ -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),