about summary refs log tree commit diff
path: root/library
diff options
context:
space:
mode:
authorAda Alakbarova <58857108+ada4a@users.noreply.github.com>2025-08-12 09:43:17 +0200
committerGitHub <noreply@github.com>2025-08-12 09:43:17 +0200
commit5e4f465655157365c016834dd3db6045d649483c (patch)
treedd4b4254f8eac0b9ecf45afb68c6192403f03287 /library
parenta1531335fe2807715fff569904d99602022643a7 (diff)
downloadrust-5e4f465655157365c016834dd3db6045d649483c.tar.gz
rust-5e4f465655157365c016834dd3db6045d649483c.zip
fix typo
Diffstat (limited to 'library')
-rw-r--r--library/core/src/ops/range.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ops/range.rs b/library/core/src/ops/range.rs
index f33a33e6b75..95d1e2069ac 100644
--- a/library/core/src/ops/range.rs
+++ b/library/core/src/ops/range.rs
@@ -853,7 +853,7 @@ pub trait RangeBounds<T: ?Sized> {
     /// assert!( RangeBounds::is_empty(&(f32::NAN..5.0)));
     /// ```
     ///
-    /// But never empty is either side is unbounded:
+    /// But never empty if either side is unbounded:
     ///
     /// ```
     /// #![feature(range_bounds_is_empty)]