Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closures/exercise.rs: drop trait bounds from struct definition
This is more idiomatic than what we had before. We keep the trait bounds for the inherent impl, because the new method can use them to guide inference of unannotated closure arguments.
- Loading branch information