compiles, once again.

now 616 errors downstream...
This commit is contained in:
same mf who else 2026-03-21 20:12:51 +02:00
parent eb899906f9
commit cdc513060d
8 changed files with 196 additions and 201 deletions

View file

@ -54,7 +54,7 @@ impl PerfModel {
None
}
}
pub fn cycle <F: Fn(&Self)->T, T> (&self, call: &F) -> T {
pub fn cycle <F: FnMut(&Self)->T, T> (&self, call: &mut F) -> T {
let t0 = self.get_t0();
let result = call(self);
let _t1 = self.get_t1(t0).unwrap();