File tree 1 file changed +1
-9
lines changed
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,6 @@ macro_rules! tests {
19
19
//
20
20
// For unsigned types check that `isqrt` produces the same
21
21
// 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
30
22
#[ test]
31
23
fn isqrt( ) {
32
24
// Check the minimum value because, for signed types,
@@ -194,7 +186,7 @@ macro_rules! signed_check {
194
186
) ;
195
187
}
196
188
197
- // `wrapping_neg` so that `$SignedT ::MIN` will negate to
189
+ // `wrapping_neg` so that `<$T> ::MIN` will negate to
198
190
// itself rather than panicking.
199
191
let negative_n = n. wrapping_neg( ) ;
200
192
You can’t perform that action at this time.
0 commit comments