mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 09:10:08 +00:00
apply clippy optimizations
This commit is contained in:
parent
b5874342b5
commit
105c1ca7a5
@ -91,7 +91,7 @@ impl Navigation {
|
||||
match self.matches.borrow().get(next) {
|
||||
Some((start, end)) => {
|
||||
self.index.replace(next);
|
||||
Some((start.clone(), end.clone()))
|
||||
Some((*start, *end))
|
||||
}
|
||||
None => {
|
||||
self.index.replace(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user