@@ -247,7 +247,7 @@ impl<O: Owner + ?Sized> Pair<O> {
247247 /// [`Dependent`]: crate::HasDependent::Dependent
248248 pub fn with_dependent < ' self_borrow , F , T > ( & ' self_borrow self , f : F ) -> T
249249 where
250- F : for < ' any > FnOnce ( & ' self_borrow Dependent < ' _ , O > ) -> T ,
250+ F : for < ' any > FnOnce ( & ' self_borrow Dependent < ' any , O > ) -> T ,
251251 {
252252 // SAFETY: `self.dependent` was originally converted from a valid
253253 // Box<Dependent<'_, O>>, and type-erased to a NonNull<()>. As such, it
@@ -276,7 +276,7 @@ impl<O: Owner + ?Sized> Pair<O> {
276276 /// [`Dependent`]: crate::HasDependent::Dependent
277277 pub fn with_dependent_mut < ' self_borrow , F , T > ( & ' self_borrow mut self , f : F ) -> T
278278 where
279- F : for < ' any > FnOnce ( & ' self_borrow mut Dependent < ' _ , O > ) -> T ,
279+ F : for < ' any > FnOnce ( & ' self_borrow mut Dependent < ' any , O > ) -> T ,
280280 {
281281 self . with_both_mut ( |_, dependent| f ( dependent) )
282282 }
@@ -292,7 +292,7 @@ impl<O: Owner + ?Sized> Pair<O> {
292292 /// [`Dependent`]: crate::HasDependent::Dependent
293293 pub fn with_both < ' self_borrow , F , T > ( & ' self_borrow self , f : F ) -> T
294294 where
295- F : for < ' any > FnOnce ( & ' self_borrow O , & ' self_borrow Dependent < ' _ , O > ) -> T ,
295+ F : for < ' any > FnOnce ( & ' self_borrow O , & ' self_borrow Dependent < ' any , O > ) -> T ,
296296 {
297297 self . with_dependent ( |dependent| f ( self . owner ( ) , dependent) )
298298 }
@@ -309,7 +309,7 @@ impl<O: Owner + ?Sized> Pair<O> {
309309 /// [`Dependent`]: crate::HasDependent::Dependent
310310 pub fn with_both_mut < ' self_borrow , F , T > ( & ' self_borrow mut self , f : F ) -> T
311311 where
312- F : for < ' any > FnOnce ( & ' self_borrow O , & ' self_borrow mut Dependent < ' _ , O > ) -> T ,
312+ F : for < ' any > FnOnce ( & ' self_borrow O , & ' self_borrow mut Dependent < ' any , O > ) -> T ,
313313 {
314314 let owner: & O = self . owner ( ) ;
315315
0 commit comments