diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2024-07-26 19:03:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-26 19:03:08 -0400 |
| commit | 8385f3b7ee8974d109d4bbf64bdee877bf11f2a8 (patch) | |
| tree | de86e56607f75e9ec7ae46da17ee8d2131076af0 | |
| parent | 7eaf74743b600b031c862e24e97e4861b885183c (diff) | |
| parent | 130ce490f55b6ca8dbe65c977bae18b04736d3f3 (diff) | |
| download | rust-8385f3b7ee8974d109d4bbf64bdee877bf11f2a8.tar.gz rust-8385f3b7ee8974d109d4bbf64bdee877bf11f2a8.zip | |
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
| -rw-r--r-- | library/core/src/iter/traits/iterator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs index 733d414d444..469097e4847 100644 --- a/library/core/src/iter/traits/iterator.rs +++ b/library/core/src/iter/traits/iterator.rs @@ -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 /// |
