Skip to content

Commit c46f758

Browse files
committed
Fix RangeBounds documentation to include inclusive operations
1 parent 95fc3f4 commit c46f758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/ops/range.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ pub enum Bound<T> {
692692

693693
#[stable(feature = "collections_range", since = "1.28.0")]
694694
/// `RangeBounds` is implemented by Rust's built-in range types, produced
695-
/// by range syntax like `..`, `a..`, `..b` or `c..d`.
695+
/// by range syntax like `..`, `a..`, `..b`, `..=c`, `d..e`, or `f..=g`.
696696
pub trait RangeBounds<T: ?Sized> {
697697
/// Start index bound.
698698
///

0 commit comments

Comments
 (0)