Skip to content

Commit

Permalink
Unrolled build for rust-lang#128235
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rust-timer committed Jul 27, 2024
2 parents 7c2012d + 130ce49 commit 434fc70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/iter/traits/iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down

0 comments on commit 434fc70

Please sign in to comment.