Skip to content

Commit 5e4f465

Browse files
authored
fix typo
1 parent a153133 commit 5e4f465

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)