@@ -4406,8 +4406,12 @@ where
4406
4406
Vacant ( VacantEntryRef < ' a , ' b , K , Q , V , S , A > ) ,
4407
4407
}
4408
4408
4409
- impl < K : Borrow < Q > , Q : ?Sized + Debug , V : Debug , S , A : Allocator > Debug
4410
- for EntryRef < ' _ , ' _ , K , Q , V , S , A >
4409
+ impl < K , Q , V , S , A > Debug for EntryRef < ' _ , ' _ , K , Q , V , S , A >
4410
+ where
4411
+ K : Borrow < Q > ,
4412
+ Q : Debug + ?Sized ,
4413
+ V : Debug ,
4414
+ A : Allocator ,
4411
4415
{
4412
4416
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
4413
4417
match * self {
@@ -4510,8 +4514,12 @@ where
4510
4514
{
4511
4515
}
4512
4516
4513
- impl < K : Borrow < Q > , Q : ?Sized + Debug , V : Debug , S , A : Allocator > Debug
4514
- for OccupiedEntryRef < ' _ , ' _ , K , Q , V , S , A >
4517
+ impl < K , Q , V , S , A > Debug for OccupiedEntryRef < ' _ , ' _ , K , Q , V , S , A >
4518
+ where
4519
+ K : Borrow < Q > ,
4520
+ Q : Debug + ?Sized ,
4521
+ V : Debug ,
4522
+ A : Allocator ,
4515
4523
{
4516
4524
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
4517
4525
f. debug_struct ( "OccupiedEntryRef" )
@@ -4557,8 +4565,11 @@ pub struct VacantEntryRef<'a, 'b, K, Q: ?Sized, V, S, A: Allocator = Global> {
4557
4565
table : & ' a mut HashMap < K , V , S , A > ,
4558
4566
}
4559
4567
4560
- impl < K : Borrow < Q > , Q : ?Sized + Debug , V , S , A : Allocator > Debug
4561
- for VacantEntryRef < ' _ , ' _ , K , Q , V , S , A >
4568
+ impl < K , Q , V , S , A > Debug for VacantEntryRef < ' _ , ' _ , K , Q , V , S , A >
4569
+ where
4570
+ K : Borrow < Q > ,
4571
+ Q : Debug + ?Sized ,
4572
+ A : Allocator ,
4562
4573
{
4563
4574
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
4564
4575
f. debug_tuple ( "VacantEntryRef" ) . field ( & self . key ( ) ) . finish ( )
0 commit comments