diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-08-12 20:38:00 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-12 20:38:00 +1000 |
| commit | 7c4bedc962ac1800877899dd5bae9ca472e57a87 (patch) | |
| tree | 56fcfbf6c3dda250b2b2b8edb14cdac179edc413 /library | |
| parent | 04f29fde1049fc179f306cf1dce3ece85e420723 (diff) | |
| parent | 5e4f465655157365c016834dd3db6045d649483c (diff) | |
| download | rust-7c4bedc962ac1800877899dd5bae9ca472e57a87.tar.gz rust-7c4bedc962ac1800877899dd5bae9ca472e57a87.zip | |
Rollup merge of #145292 - ada4a:patch-2, r=tgross35
Fix a typo in range docs
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)] |
