Skip to content

Commit

Permalink
Rollup merge of rust-lang#128235 - harryscholes:fix-iterator-filter-d…
Browse files Browse the repository at this point in the history
…ocs, r=tgross35

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 a2dbfd3 + bd11b3d commit 59f3fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 59f3fef

Please sign in to comment.