diff options
| author | Niv Kaminer <nivkner@zoho.com> | 2018-03-17 11:04:33 +0200 |
|---|---|---|
| committer | Niv Kaminer <nivkner@zoho.com> | 2018-03-17 20:24:49 +0200 |
| commit | e1b9bf07022d18fb44aeb3dd3870952f1bc17619 (patch) | |
| tree | 9d3912452c0fad323c7605446118a6e0f4ec87e2 /src | |
| parent | d1dacddfc7e1b0d897b8d6a4153c2fb8758eaee1 (diff) | |
update FIXME(#23442) to point to issue 45742 (Blanket impl of AsRef for Deref)
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/convert.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs index d3a83dc795c..2206910c93f 100644 --- a/src/libcore/convert.rs +++ b/src/libcore/convert.rs @@ -382,7 +382,7 @@ impl<'a, T: ?Sized, U: ?Sized> AsRef<U> for &'a mut T where T: AsRef<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 @@ impl<'a, T: ?Sized, U: ?Sized> AsMut<U> for &'a mut T where T: AsMut<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 { |
