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 5f2b046 commit 789c840Copy full SHA for 789c840
library/coretests/tests/ops.rs
@@ -89,7 +89,8 @@ fn test_range_to_contains() {
89
assert!(!(1u32..=5).contains(&6));
90
}
91
92
-// This test covers `RangeBounds::contains` when the start is excluded.
+// This test covers `RangeBounds::contains` when the start is excluded,
93
+// which cannot be directly expressed by Rust's built-in range syntax.
94
#[test]
95
fn test_range_bounds_contains() {
96
let r = (Bound::Excluded(1u32), Bound::Included(5u32));
0 commit comments