Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
HashCache: Apply trait bounds on type itself, rather than only the impl
I don't think there is any reason to keep the container more generic than its (only) implementation -- the constraints are necessary for this container to work at all. Defining the constraints on the type itself also enables use of #[derive(Debug)].
- Loading branch information