Skip to content

Commit

Permalink
Rollup merge of #128235 - harryscholes:fix-iterator-filter-docs, r=tg…
Browse files Browse the repository at this point in the history
…ross35

Fix `Iterator::filter` docs

Small fix to add code formatting around `Iterator::filter` `true` return type
  • Loading branch information
tgross35 authored Jul 26, 2024
2 parents 7eaf747 + 130ce49 commit 8385f3b
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 8385f3b

Please sign in to comment.