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:
commit
38801ce5d0
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user