about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/coretests/tests/ops.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/coretests/tests/ops.rs b/library/coretests/tests/ops.rs
index 921010774e2..121718f2167 100644
--- a/library/coretests/tests/ops.rs
+++ b/library/coretests/tests/ops.rs
@@ -89,7 +89,8 @@ fn test_range_to_contains() {
     assert!(!(1u32..=5).contains(&6));
 }
 
-// This test covers `RangeBounds::contains` when the start is excluded.
+// This test covers `RangeBounds::contains` when the start is excluded,
+// which cannot be directly expressed by Rust's built-in range syntax.
 #[test]
 fn test_range_bounds_contains() {
     let r = (Bound::Excluded(1u32), Bound::Included(5u32));