diff options
| author | Ada Alakbarova <58857108+ada4a@users.noreply.github.com> | 2025-08-12 09:43:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-12 09:43:17 +0200 |
| commit | 5e4f465655157365c016834dd3db6045d649483c (patch) | |
| tree | dd4b4254f8eac0b9ecf45afb68c6192403f03287 /library | |
| parent | a1531335fe2807715fff569904d99602022643a7 (diff) | |
| download | rust-5e4f465655157365c016834dd3db6045d649483c.tar.gz rust-5e4f465655157365c016834dd3db6045d649483c.zip | |
fix typo
Diffstat (limited to 'library')
| -rw-r--r-- | library/core/src/ops/range.rs | 2 |
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)] |
