diff options
| author | bors <bors@rust-lang.org> | 2019-03-31 17:21:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-03-31 17:21:14 +0000 |
| commit | 4fac5c98b22faa7fce2d5d64bf34c61340883302 (patch) | |
| tree | 9c75e0759b74f210c61fcc192fdd1b05d9784df9 /src/liballoc | |
| parent | a89c03a30a1e8f1cd190114b765d01752d3ce8d8 (diff) | |
| parent | 34454451a19210341263ea32962d96f41faec2a5 (diff) | |
| download | rust-4fac5c98b22faa7fce2d5d64bf34c61340883302.tar.gz rust-4fac5c98b22faa7fce2d5d64bf34c61340883302.zip | |
Auto merge of #59590 - Centril:rollup, r=Centril
Rollup of 7 pull requests Successful merges: - #58805 (Lint for redundant imports) - #59506 (Use platform dependent mcount function) - #59519 (rustc_target: factor out common fields of non-Single Variants.) - #59580 (Allow closure to unsafe fn coercion) - #59581 (Stabilize refcell_replace_swap feature) - #59583 (match match match match match) - #59587 (Remove #[doc(hidden)] from Error::type_id) Failed merges: r? @ghost
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/borrow.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/borrow.rs b/src/liballoc/borrow.rs index 74c80a08b12..ee1799fad8e 100644 --- a/src/liballoc/borrow.rs +++ b/src/liballoc/borrow.rs @@ -135,7 +135,7 @@ impl<T> ToOwned for T /// Another example showing how to keep `Cow` in a struct: /// /// ``` -/// use std::borrow::{Cow, ToOwned}; +/// use std::borrow::Cow; /// /// struct Items<'a, X: 'a> where [X]: ToOwned<Owned = Vec<X>> { /// values: Cow<'a, [X]>, |
