mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
apply clippy optimizations
This commit is contained in:
parent
b5874342b5
commit
105c1ca7a5
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue