Skip to content

Commit

Permalink
Rollup merge of rust-lang#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 authored Jun 28, 2019
2 parents a9365c7 + 643ae63 commit a4f50c1
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 a4f50c1

Please sign in to comment.