Rollup merge of #128235 - harryscholes:fix-iterator-filter-docs, r=tgross35
Fix `Iterator::filter` docs Small fix to add code formatting around `Iterator::filter` `true` return type
This commit is contained in:
commit
8385f3b7ee
1 changed files with 1 additions and 1 deletions
|
|
@ -823,7 +823,7 @@ pub trait Iterator {
|
|||
///
|
||||
/// Given an element the closure must return `true` or `false`. The returned
|
||||
/// iterator will yield only the elements for which the closure returns
|
||||
/// true.
|
||||
/// `true`.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue