summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-04-22 09:42:36 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-04-25 12:07:02 -0400
commit1d7bd95c38bb49057c7184e597394fae245a7eb6 (patch)
tree7faf4340e3f34425fafd3e6c41f42edad6911742 /src/liballoc
parenteb002667a2942272f8cf7a451b9004a21d80cf96 (diff)
downloadrust-1d7bd95c38bb49057c7184e597394fae245a7eb6.tar.gz
rust-1d7bd95c38bb49057c7184e597394fae245a7eb6.zip
Remove doc-comment default::Default imports
In 8f5b5f94dcdb9884737dfbc8efd893d1d70f0b14, `default::Default` was
added to the prelude, so these imports are no longer necessary.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/rc.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index 67805d10a4a..2ee229ab1df 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -459,7 +459,6 @@ impl<T: Default> Default for Rc<T> {
     ///
     /// ```
     /// use std::rc::Rc;
-    /// use std::default::Default;
     ///
     /// let x: Rc<i32> = Default::default();
     /// ```