Skip to content

Commit 05941db

Browse files
committed
Fix comments
1 parent ef5851a commit 05941db

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

library/core/tests/num/int_sqrt.rs

+1-9
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ macro_rules! tests {
1919
//
2020
// For unsigned types check that `isqrt` produces the same
2121
// numeric value for `$T` and `NonZero<$T>`.
22-
//
23-
// Check that the following produce the correct values from
24-
// `isqrt` and that `checked_isqrt` produces the same numeric
25-
// value as `isqrt`:
26-
//
27-
// * the first and last 128 nonnegative values
28-
// * powers of two, minus one
29-
// * powers of two
3022
#[test]
3123
fn isqrt() {
3224
// Check the minimum value because, for signed types,
@@ -194,7 +186,7 @@ macro_rules! signed_check {
194186
);
195187
}
196188

197-
// `wrapping_neg` so that `$SignedT::MIN` will negate to
189+
// `wrapping_neg` so that `<$T>::MIN` will negate to
198190
// itself rather than panicking.
199191
let negative_n = n.wrapping_neg();
200192

0 commit comments

Comments
 (0)