Skip to content

Commit 38801ce

Browse files
authored
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`.
2 parents 75edfe2 + 643ae63 commit 38801ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iter/traits/collect.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ pub trait FromIterator<A>: Sized {
196196
/// ```rust
197197
/// fn collect_as_strings<T>(collection: T) -> Vec<String>
198198
/// where T: IntoIterator,
199-
/// T::Item : std::fmt::Debug,
199+
/// T::Item: std::fmt::Debug,
200200
/// {
201201
/// collection
202202
/// .into_iter()

0 commit comments

Comments
 (0)