We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58e597e commit b9956d4Copy full SHA for b9956d4
src/libcollections/btree/set.rs
@@ -227,7 +227,7 @@ impl<T: Ord> BTreeSet<T> {
227
/// for &elem in set.range((Included(&4), Included(&8))) {
228
/// println!("{}", elem);
229
/// }
230
- /// assert_eq!(Some(&5), set.range((Included(&4), Unbounded)).next());
+ /// assert_eq!(Some(&5), set.range(4..).next());
231
/// ```
232
#[unstable(feature = "btree_range",
233
reason = "matches collection reform specification, waiting for dust to settle",
0 commit comments