Skip to content

Commit

Permalink
Fix RangeBounds documentation to include inclusive operations
Browse files Browse the repository at this point in the history
  • Loading branch information
czipperz committed Mar 12, 2019
1 parent 95fc3f4 commit c46f758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/ops/range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit c46f758

Please sign in to comment.