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/rc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index ce9067c2ff9..2cca8d4a396 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -618,7 +618,7 @@ impl<T: Clone> Rc<T> {
     /// [`Weak`] pointers will be dissassociated:
     ///
     /// ```
-    /// use std::rc::{Rc, Weak};
+    /// use std::rc::Rc;
     ///
     /// let mut data = Rc::new(75);
     /// let weak = Rc::downgrade(&data);