diff options
| author | Ilija Tovilo <ilija.tovilo@me.com> | 2019-08-09 00:33:57 +0200 |
|---|---|---|
| committer | Ilija Tovilo <ilija.tovilo@me.com> | 2019-08-09 11:19:45 +0200 |
| commit | 3d231acceeb6a1af8108577b65bd60745f7dcf17 (patch) | |
| tree | ea5e1b5316237012c067592eba8387386a08b64e /src/libcore | |
| parent | 3a6a29b4ecfdb7f641ca699fcd66a09b4baaae6a (diff) | |
| download | rust-3d231acceeb6a1af8108577b65bd60745f7dcf17.tar.gz rust-3d231acceeb6a1af8108577b65bd60745f7dcf17.zip | |
Add missing #![feature(associated_type_bounds)]
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/iter/traits/collect.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/iter/traits/collect.rs b/src/libcore/iter/traits/collect.rs index 9f15de33425..015184cbba2 100644 --- a/src/libcore/iter/traits/collect.rs +++ b/src/libcore/iter/traits/collect.rs @@ -194,6 +194,8 @@ pub trait FromIterator<A>: Sized { /// `Item`: /// /// ```rust +/// #![feature(associated_type_bounds)] +/// /// fn collect_as_strings<T>(collection: T) -> Vec<String> /// where /// T: IntoIterator<Item: std::fmt::Debug>, |
