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
It's common to switch between single-threaded and multithread processing according to runtime options. However their underlying APIs usually exhibits different bounds. For example:
Code description
It's common to switch between single-threaded and multithread processing according to runtime options. However their underlying APIs usually exhibits different bounds. For example:
By using trait upcasting coercion, a single type-erased closure reference can be passed to both these methods.
What worked well
It's really nice that
&mut dyn Fn
can now be used as if it's a&mut dyn FnMut
.What worked less well
Nothing in this example.
The text was updated successfully, but these errors were encountered: