Don't use associated type bounds in docs until it is stable

This commit is contained in:
Ilija Tovilo 2019-08-09 13:40:54 +02:00
parent 3d231accee
commit 77bfd7fd1a
No known key found for this signature in database
GPG Key ID: 3F123D0ADD448198

View File

@ -194,11 +194,10 @@ pub trait FromIterator<A>: Sized {
/// `Item`: /// `Item`:
/// ///
/// ```rust /// ```rust
/// #![feature(associated_type_bounds)]
///
/// fn collect_as_strings<T>(collection: T) -> Vec<String> /// fn collect_as_strings<T>(collection: T) -> Vec<String>
/// where /// where
/// T: IntoIterator<Item: std::fmt::Debug>, /// T: IntoIterator,
/// T::Item: std::fmt::Debug,
/// { /// {
/// collection /// collection
/// .into_iter() /// .into_iter()