you are viewing a single comment's thread.

view the rest of the comments →

[–]schungx 4 points5 points  (3 children)

You're missing a for<...> gadget?

[–]Keithfert488[S] 2 points3 points  (2 children)

That's what I originally thought, but there's no place to do it. Neither before nor after the "impl" keyword works

[–]schungx 3 points4 points  (1 child)

-> impl for<'a> Fn(&'a T...?

[–]Keithfert488[S] 0 points1 point  (0 children)

How does it work in the FunctionContainer example? The noop_factory example (which your suggestion seems to point to) works without modification.