Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit b196e5b

Browse files
committed
fixup
1 parent ba5067a commit b196e5b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/syntax/src/ast/token_ext.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,8 +481,7 @@ bcde", b"abcde",
481481

482482
#[test]
483483
fn test_value_underscores() {
484-
#[allow(clippy::approx_constant)]
485-
check_float_value("3.141592653589793_f64", 3.141592653589793_f64);
484+
check_float_value("1.234567891011121_f64", 1.234567891011121_f64);
486485
check_float_value("1__0.__0__f32", 10.0);
487486
check_int_value("0b__1_0_", 2);
488487
check_int_value("1_1_1_1_1_1", 111111);

0 commit comments

Comments
 (0)