@@ -729,13 +729,13 @@ pub struct Cursor<'a, K, V> {
729729// SAFETY: The [`Cursor`] has exclusive access to both `K` and `V`, so it is sufficient to require them to be `Send`. 
730730// The cursor only gives out immutable references to the keys, but since it has excusive access to those same 
731731// keys, `Send` is sufficient. `Sync` would be okay, but it is more restrictive to the user. 
732- unsafe  impl < ' a ,   K :  Send ,  V :  Send >  Send  for  Cursor < ' a ,  K ,  V >  { } 
732+ unsafe  impl < K :  Send ,  V :  Send >  Send  for  Cursor < ' _ ,  K ,  V >  { } 
733733
734734// SAFETY: The [`Cursor`] gives out immutable references to K and mutable references to V, 
735735// so it has the same thread safety requirements as mutable references. 
736- unsafe  impl < ' a ,   K :  Sync ,  V :  Sync >  Sync  for  Cursor < ' a ,  K ,  V >  { } 
736+ unsafe  impl < K :  Sync ,  V :  Sync >  Sync  for  Cursor < ' _ ,  K ,  V >  { } 
737737
738- impl < ' a ,   K ,  V >  Cursor < ' a ,  K ,  V >  { 
738+ impl < K ,  V >  Cursor < ' _ ,  K ,  V >  { 
739739    /// The current node 
740740     pub  fn  current ( & self )  -> ( & K ,  & V )  { 
741741        // SAFETY: 
@@ -948,11 +948,11 @@ pub struct Iter<'a, K, V> {
948948
949949// SAFETY: The [`Iter`] gives out immutable references to K and V, so it has the same 
950950// thread safety requirements as immutable references. 
951- unsafe  impl < ' a ,   K :  Sync ,  V :  Sync >  Send  for  Iter < ' a ,  K ,  V >  { } 
951+ unsafe  impl < K :  Sync ,  V :  Sync >  Send  for  Iter < ' _ ,  K ,  V >  { } 
952952
953953// SAFETY: The [`Iter`] gives out immutable references to K and V, so it has the same 
954954// thread safety requirements as immutable references. 
955- unsafe  impl < ' a ,   K :  Sync ,  V :  Sync >  Sync  for  Iter < ' a ,  K ,  V >  { } 
955+ unsafe  impl < K :  Sync ,  V :  Sync >  Sync  for  Iter < ' _ ,  K ,  V >  { } 
956956
957957impl < ' a ,  K ,  V >  Iterator  for  Iter < ' a ,  K ,  V >  { 
958958    type  Item  = ( & ' a  K ,  & ' a  V ) ; 
@@ -983,11 +983,11 @@ pub struct IterMut<'a, K, V> {
983983// SAFETY: The [`IterMut`] has exclusive access to both `K` and `V`, so it is sufficient to require them to be `Send`. 
984984// The iterator only gives out immutable references to the keys, but since the iterator has excusive access to those same 
985985// keys, `Send` is sufficient. `Sync` would be okay, but it is more restrictive to the user. 
986- unsafe  impl < ' a ,   K :  Send ,  V :  Send >  Send  for  IterMut < ' a ,  K ,  V >  { } 
986+ unsafe  impl < K :  Send ,  V :  Send >  Send  for  IterMut < ' _ ,  K ,  V >  { } 
987987
988988// SAFETY: The [`IterMut`] gives out immutable references to K and mutable references to V, so it has the same 
989989// thread safety requirements as mutable references. 
990- unsafe  impl < ' a ,   K :  Sync ,  V :  Sync >  Sync  for  IterMut < ' a ,  K ,  V >  { } 
990+ unsafe  impl < K :  Sync ,  V :  Sync >  Sync  for  IterMut < ' _ ,  K ,  V >  { } 
991991
992992impl < ' a ,  K ,  V >  Iterator  for  IterMut < ' a ,  K ,  V >  { 
993993    type  Item  = ( & ' a  K ,  & ' a  mut  V ) ; 
0 commit comments