Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7c4bedc

Browse files
Rollup merge of #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)

AltStyle によって変換されたページ (->オリジナル) /