La vie peut ne pas vivre assez longtemps

fn returns_a_closure(&self,io: IO) -> Box<(dyn Fn() -> u64 + 'static)> {}

convert to:

fn returns_a_closure(&self,io: IO) -> Box<(dyn Fn() -> u64 + '_)> {}
ArmanRiazi