From 789c8408ec0e6ed4e299fb13b047282ed1046e2e Mon Sep 17 00:00:00 2001 From: Christian Poveda Ruiz <31802960+pvdrz@users.noreply.github.com> Date: Wed, 10 Sep 2025 16:50:45 -0500 Subject: [PATCH] Update library/coretests/tests/ops.rs Co-authored-by: Jubilee --- library/coretests/tests/ops.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/coretests/tests/ops.rs b/library/coretests/tests/ops.rs index 921010774e28..121718f2167e 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));