clippy lint

pull/1/head
Blaž Hrastnik 5 years ago
parent 6ed2f56a01
commit 3848058472

@ -165,7 +165,7 @@ impl<'a> RopeGraphemes<'a> {
let first_chunk = chunks.next().unwrap_or(""); let first_chunk = chunks.next().unwrap_or("");
RopeGraphemes { RopeGraphemes {
text: *slice, text: *slice,
chunks: chunks, chunks,
cur_chunk: first_chunk, cur_chunk: first_chunk,
cur_chunk_start: 0, cur_chunk_start: 0,
cursor: GraphemeCursor::new(0, slice.len_bytes(), true), cursor: GraphemeCursor::new(0, slice.len_bytes(), true),

Loading…
Cancel
Save