]> git.lizzy.rs Git - rust.git/commitdiff
Fix Rc impl.
authorWithout Boats <boats@mozilla.com>
Sat, 1 Sep 2018 03:04:46 +0000 (05:04 +0200)
committerWithout Boats <boats@mozilla.com>
Sat, 1 Sep 2018 03:04:46 +0000 (05:04 +0200)
src/liballoc/rc.rs

index 488b9d32cf0a567205e86ef832583c31e8a26d04..2d65aaecbd0cb2349ea37101e3cfe12146e947f1 100644 (file)
@@ -1832,4 +1832,4 @@ fn as_ref(&self) -> &T {
 }
 
 #[unstable(feature = "pin", issue = "49150")]
-impl<T: ?Sized> Unpin for Box<T> { }
+impl<T: ?Sized> Unpin for Rc<T> { }