Skip to content

Commit e1b9bf0

Browse files
committed
update FIXME(rust-lang#23442) to point to issue 45742 (Blanket impl of AsRef for Deref)
1 parent d1dacdd commit e1b9bf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/convert.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ impl<'a, T: ?Sized, U: ?Sized> AsRef<U> for &'a mut T where T: AsRef<U>
382382
}
383383
}
384384

385-
// FIXME (#23442): replace the above impls for &/&mut with the following more general one:
385+
// FIXME (#45742): replace the above impls for &/&mut with the following more general one:
386386
// // As lifts over Deref
387387
// impl<D: ?Sized + Deref, U: ?Sized> AsRef<U> for D where D::Target: AsRef<U> {
388388
// 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>
399399
}
400400
}
401401

402-
// FIXME (#23442): replace the above impl for &mut with the following more general one:
402+
// FIXME (#45742): replace the above impl for &mut with the following more general one:
403403
// // AsMut lifts over DerefMut
404404
// impl<D: ?Sized + Deref, U: ?Sized> AsMut<U> for D where D::Target: AsMut<U> {
405405
// fn as_mut(&mut self) -> &mut U {

0 commit comments

Comments
 (0)