We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5042182 commit 3278e79Copy full SHA for 3278e79
src/liballoc/arc.rs
@@ -145,6 +145,8 @@ pub struct Weak<T: ?Sized> {
145
unsafe impl<T: ?Sized + Sync + Send> Send for Weak<T> { }
146
unsafe impl<T: ?Sized + Sync + Send> Sync for Weak<T> { }
147
148
+impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Weak<U>> for Weak<T> {}
149
+
150
#[stable(feature = "rust1", since = "1.0.0")]
151
impl<T: ?Sized + fmt::Debug> fmt::Debug for Weak<T> {
152
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
0 commit comments