Skip to content

Commit b34b714

Browse files
committed
Remove unused import in doctest
1 parent fbe9f16 commit b34b714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/rc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ impl<T: Clone> Rc<T> {
618618
/// [`Weak`] pointers will be dissassociated:
619619
///
620620
/// ```
621-
/// use std::rc::{Rc, Weak};
621+
/// use std::rc::Rc;
622622
///
623623
/// let mut data = Rc::new(75);
624624
/// let weak = Rc::downgrade(&data);

0 commit comments

Comments
 (0)