Skip to content

Commit 69e3da9

Browse files
committed
Relax the bounds on HashSet: Debug
1 parent 1e1bb23 commit 69e3da9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/set.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,8 +1128,7 @@ where
11281128

11291129
impl<T, S, A> fmt::Debug for HashSet<T, S, A>
11301130
where
1131-
T: Eq + Hash + fmt::Debug,
1132-
S: BuildHasher,
1131+
T: fmt::Debug,
11331132
A: Allocator + Clone,
11341133
{
11351134
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {

0 commit comments

Comments
 (0)