apply clippy optimizations

This commit is contained in:
yggverse 2024-12-16 12:59:36 +02:00
parent 16d5daa1e1
commit 54901cded6

View File

@ -75,7 +75,7 @@ impl Navigation {
} else {
index
});
Some((start.clone(), end.clone()))
Some((*start, *end))
}
None => {
self.index