Recursion with FnMut

is it impossible to do recursion with FnMut? with Fn I can wrap it inside a struct, but I don't know to do it with FnMut.

Hi there, and welcome to the internals forum, this question would be a better fit for the users forum over on users.rust-lang.org though. You should also give a little bit more context as to what exactly you mean with "do recursion with". As you seem to be comparing to something you were able to do "with Fn", maybe share a quick code demo of that for illustration.

Unlisting, as a cross post on URLO now exists :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.