diff options
| author | Christian Poveda Ruiz <31802960+pvdrz@users.noreply.github.com> | 2025-09-10 16:50:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-10 16:50:45 -0500 |
| commit | 789c8408ec0e6ed4e299fb13b047282ed1046e2e (patch) | |
| tree | 05bd85a5dcaa12abb07436061ce7866b5d9155b6 | |
| parent | 5f2b04652fe006439aaa52271997a69499dca021 (diff) | |
| download | rust-789c8408ec0e6ed4e299fb13b047282ed1046e2e.tar.gz rust-789c8408ec0e6ed4e299fb13b047282ed1046e2e.zip | |
Update library/coretests/tests/ops.rs
Co-authored-by: Jubilee <workingjubilee@gmail.com>
| -rw-r--r-- | library/coretests/tests/ops.rs | 3 |
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)); |
