clippy lint

This commit is contained in:
Blaž Hrastnik 2021-04-06 20:00:35 +09:00
parent 0e9ecccfc1
commit 9dfd6f6bbc

View file

@ -230,7 +230,7 @@ pub fn skip_over_prev<F>(slice: RopeSlice, pos: &mut usize, fun: F) -> bool
}
*pos = pos.saturating_sub(1);
}
return fun(slice.char(*pos));
fun(slice.char(*pos))
}
#[cfg(test)]