Skip to content

Commit 7c4bedc

Browse files
authored
Rollup merge of rust-lang#145292 - ada4a:patch-2, r=tgross35
Fix a typo in range docs
2 parents 04f29fd + 5e4f465 commit 7c4bedc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ops/range.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ pub trait RangeBounds<T: ?Sized> {
853853
/// assert!( RangeBounds::is_empty(&(f32::NAN..5.0)));
854854
/// ```
855855
///
856-
/// But never empty is either side is unbounded:
856+
/// But never empty if either side is unbounded:
857857
///
858858
/// ```
859859
/// #![feature(range_bounds_is_empty)]

0 commit comments

Comments
 (0)