Re:A Rust Shaped Hole
by bryanlarsen on Wednesday July 16, 2025 @09:52PM
(#44588924)
Set the type of all the parameters to your new function to bool, then compile. The compiler error will tell you, "Error: you passed a foo<'bar, baz> instead of a bool". Then you change the type in the function's parameter to "foo<'bar, baz>".
[ Parent
| on HN ]
There are no comments on this comment yet.