small refactor

main
aprzn 2 years ago
parent 674285de46
commit 5c764b5f8d

@ -55,8 +55,8 @@ impl BeatRate {
*self *self
.changes .changes
.iter() .iter()
.rev() .filter(|&el| el.0 <= &pos)
.find(|&el| el.0 <= &pos) .last()
.unwrap() .unwrap()
.1 .1
} }
@ -107,8 +107,8 @@ impl TimeSignature {
*self *self
.changes .changes
.iter() .iter()
.rev() .filter(|&el| el.0 <= &pos)
.find(|&el| el.0 <= &pos) .last()
.unwrap() .unwrap()
.1 .1
} }

Loading…
Cancel
Save