Skip to content

Commit

Permalink
Rollup merge of #62204 - Hywan:patch-2, r=rkruppe
Browse files Browse the repository at this point in the history
doc(libcore) Fix CS

A small PR to fix a small CS typo in `iter/traits/collect.rs`.
  • Loading branch information
Centril committed Jun 29, 2019
2 parents 75edfe2 + 643ae63 commit 38801ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/iter/traits/collect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 38801ce

Please sign in to comment.