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

Commit ba5067a

Browse files
committed
suppress 'clippy::approx_constant' lint in test case
1 parent 3033c3d commit ba5067a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/syntax/src/ast/token_ext.rs

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

482482
#[test]
483483
fn test_value_underscores() {
484+
#[allow(clippy::approx_constant)]
484485
check_float_value("3.141592653589793_f64", 3.141592653589793_f64);
485486
check_float_value("1__0.__0__f32", 10.0);
486487
check_int_value("0b__1_0_", 2);

0 commit comments

Comments
 (0)