Rollup merge of #62204 - Hywan:patch-2, r=rkruppe

doc(libcore) Fix CS

A small PR to fix a small CS typo in `iter/traits/collect.rs`.
This commit is contained in:
Mazdak Farrokhzad 2019-06-29 11:18:14 +02:00 committed by GitHub
commit 38801ce5d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,7 +196,7 @@ pub trait FromIterator<A>: Sized {
/// ```rust
/// fn collect_as_strings<T>(collection: T) -> Vec<String>
/// where T: IntoIterator,
/// T::Item : std::fmt::Debug,
/// T::Item: std::fmt::Debug,
/// {
/// collection
/// .into_iter()