Skip to content

Commit 434fc70

Browse files
authored
Unrolled build for rust-lang#128235
Rollup merge of rust-lang#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 7c2012d + 130ce49 commit 434fc70

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)