« first day (1860 days earlier)      last day (1612 days later) » 

11:21 AM
Jesus
0
Q: How to deal with variable borrowed as mutable more than once in a custom Filter implementation?

Nicolas FerréBecause of lifetimes, I can't use the Iterator trait to define my custom iterator. So I have created my own trait: trait IterTrait<A, B> { fn next(&mut self) -> Option<(&mut A, &mut B)>; fn for_each(mut self, mut f: impl FnMut((&mut A, &mut B))) where Self: Sized, { ...

 
11:52 AM
xy problem
 
Yup
Commented as such
 
12:29 PM
Can't wait til this bad boy is going to be available! I was waiting for this since FitBit acquired Pebble.
 
1:24 PM
Question got edited
it's definitely an XY problem
 

« first day (1860 days earlier)      last day (1612 days later) »