5 ms·
I tried changing a to a reference and doing: fn foo<'a>(a: &'a f64) -> impl Fn(f64) -> f64 + 'a { .... but it doesn't work
by phibz 7y ago
I tried changing a to a reference and doing:
fn foo<'a>(a: &'a f64) -> impl Fn(f64) -> f64 + 'a { ....
but it doesn't work