Closed JieningYu closed 3 months ago
I agree, I’ll remove those bounds in the upcoming release: hopefully in 2 weeks.
Uploaded a fix; it is not complete since K, V: 'static is remaining in HashIndex, and TreeIndex is not addressed. Plus, there are still a lot of methods that don't require those trait bounds. -> All of those remaining issues will be addressed later.
For example,
HashMap
s have unnecessary trait bounds on type definition (where K: Hash + Eq
), and these could make types usingscc
containers inherent these unnecessary bounds.