about summary refs log tree commit diff
diff options
context:
space:
mode:
authorharryscholes <harryscholes@users.noreply.github.com>2024-07-26 16:09:17 +0100
committerharryscholes <harryscholes@users.noreply.github.com>2024-07-26 16:09:17 +0100
commit130ce490f55b6ca8dbe65c977bae18b04736d3f3 (patch)
tree25dcaa8e3989765a7d5b56202735c504a74874a0
parent355efacf0d430331c962a38af39049b76bb6266b (diff)
downloadrust-130ce490f55b6ca8dbe65c977bae18b04736d3f3.tar.gz
rust-130ce490f55b6ca8dbe65c977bae18b04736d3f3.zip
Fix docs
-rw-r--r--library/core/src/iter/traits/iterator.rs2
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
     ///