Skip to content

Commit 8385f3b

Browse files
authored
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
2 parents 7eaf747 + 130ce49 commit 8385f3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/iter/traits/iterator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ pub trait Iterator {
823823
///
824824
/// Given an element the closure must return `true` or `false`. The returned
825825
/// iterator will yield only the elements for which the closure returns
826-
/// true.
826+
/// `true`.
827827
///
828828
/// # Examples
829829
///

0 commit comments

Comments
 (0)