]> git.lizzy.rs Git - rust.git/commitdiff
update FIXME(#23442) to point to issue 45742 (Blanket impl of AsRef for Deref)
authorNiv Kaminer <nivkner@zoho.com>
Sat, 17 Mar 2018 09:04:33 +0000 (11:04 +0200)
committerNiv Kaminer <nivkner@zoho.com>
Sat, 17 Mar 2018 18:24:49 +0000 (20:24 +0200)
src/libcore/convert.rs

index d3a83dc795c8577040b83b1c0e0440b826bf2880..2206910c93f61b66b18e5da619132c5d2ebe6721 100644 (file)
@@ -382,7 +382,7 @@ fn as_ref(&self) -> &U {
     }
 }
 
-// FIXME (#23442): replace the above impls for &/&mut with the following more general one:
+// FIXME (#45742): replace the above impls for &/&mut with the following more general one:
 // // As lifts over Deref
 // impl<D: ?Sized + Deref, U: ?Sized> AsRef<U> for D where D::Target: AsRef<U> {
 //     fn as_ref(&self) -> &U {
@@ -399,7 +399,7 @@ fn as_mut(&mut self) -> &mut U {
     }
 }
 
-// FIXME (#23442): replace the above impl for &mut with the following more general one:
+// FIXME (#45742): replace the above impl for &mut with the following more general one:
 // // AsMut lifts over DerefMut
 // impl<D: ?Sized + Deref, U: ?Sized> AsMut<U> for D where D::Target: AsMut<U> {
 //     fn as_mut(&mut self) -> &mut U {