fix: RouteBuilder::register now only supports Fn, not FnMut
See doc comments for RouteBuilder::register, but TL;DR it's never safe to wrap a yielding function in a FnMut. The user should instead do the regular internal mutability thing.
parent
ccc93e61
No related branches found
No related tags found
Please register or sign in to comment