Closed alexcrichton closed 7 years ago
I added 31ca0e70d7ccf500d1f923c7aebfa2f7a65e02da (that doesn't cancel out your change does it?) and released 0.0.2.
Ah yeah I think that works!
Still working through some more issues though, so there may be an 0.0.3 as well :)
False alarm, that bug was a missing #[serde(rename = "...")]
, so 0.0.2 looks like a likely "cargo's gonna use this" candidate!
I ran into a recursion limit bug when using this in Cargo because there's a point where
Foo<F>
got turned intoFoo<&mut F>
. Now everything would compile just fine as&mut F
still implementsFnMut
, but in the interest of avoiding#![recursion_limit]
I figured I'd go ahead and avoid the recursion in type parameters by just always using&mut F
everywhere.