Skip to content

Commit

Permalink
Remove unused import in doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
czipperz committed May 25, 2019
1 parent fbe9f16 commit b34b714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/rc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b34b714

Please sign in to comment.