about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Gregory <czipperz@gmail.com>2019-03-10 01:21:30 -0500
committerChris Gregory <czipperz@gmail.com>2019-03-11 20:55:24 -0400
commitc46f75882f2c16de5956b64d186fea2968c303b6 (patch)
tree9a0e9df22a50e604b646fca3b47775230f26b5b5
parent95fc3f47672a417d9027b61a4604d42e462f311e (diff)
downloadrust-c46f75882f2c16de5956b64d186fea2968c303b6.tar.gz
rust-c46f75882f2c16de5956b64d186fea2968c303b6.zip
Fix RangeBounds documentation to include inclusive operations
-rw-r--r--src/libcore/ops/range.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ops/range.rs b/src/libcore/ops/range.rs
index 2552cf3a974..81a8d001dd9 100644
--- a/src/libcore/ops/range.rs
+++ b/src/libcore/ops/range.rs
@@ -692,7 +692,7 @@ pub enum Bound<T> {
 
 #[stable(feature = "collections_range", since = "1.28.0")]
 /// `RangeBounds` is implemented by Rust's built-in range types, produced
-/// by range syntax like `..`, `a..`, `..b` or `c..d`.
+/// by range syntax like `..`, `a..`, `..b`, `..=c`, `d..e`, or `f..=g`.
 pub trait RangeBounds<T: ?Sized> {
     /// Start index bound.
     ///