about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/arc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index b4c3d26ef9f..9b6b74f3b7b 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -922,7 +922,7 @@ impl<T> Weak<T> {
     /// ```
     /// #![feature(downgraded_weak)]
     ///
-    /// use std::sync::Arc;
+    /// use std::sync::Weak;
     ///
     /// let empty: Weak<i64> = Weak::new();
     /// ```