Skip to content

Commit ba204ef

Browse files
committed
Auto merge of #13863 - danieleades:approx-constant, r=Veykril
minor: suppress 'clippy::approx_constant' lint in test case suppresses a false positive clippy lint
2 parents d33fa38 + b196e5b commit ba204ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/syntax/src/ast/token_ext.rs

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

482482
#[test]
483483
fn test_value_underscores() {
484-
check_float_value("3.141592653589793_f64", 3.141592653589793_f64);
484+
check_float_value("1.234567891011121_f64", 1.234567891011121_f64);
485485
check_float_value("1__0.__0__f32", 10.0);
486486
check_int_value("0b__1_0_", 2);
487487
check_int_value("1_1_1_1_1_1", 111111);

0 commit comments

Comments
 (0)