You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, only functions can be passed to add_command. I think it would be more useful if closures were accepted too. Could you please implement this functionality?
The text was updated successfully, but these errors were encountered:
I implemented it using functions because I could figure out how to do it with functions without running afoul of the borrow checker. (I'm still at best an intermediate Rust programmer.) You're welcome to fork Molt and give it a try, though.
Currently, only functions can be passed to
add_command
. I think it would be more useful if closures were accepted too. Could you please implement this functionality?The text was updated successfully, but these errors were encountered: