diff options
| author | Daniel Eades <danieleades@hotmail.com> | 2022-12-30 11:28:06 +0000 |
|---|---|---|
| committer | Daniel Eades <danieleades@hotmail.com> | 2022-12-30 11:28:06 +0000 |
| commit | ba5067a6f04c0dbd5139cd876758fb2a11fad7cd (patch) | |
| tree | 08c8a6fa5f97c1eaf3050866c0bf70e8961e0342 | |
| parent | 3033c3ddbfcb0e42084ada8931e88d11eb98dee4 (diff) | |
| download | rust-ba5067a6f04c0dbd5139cd876758fb2a11fad7cd.tar.gz rust-ba5067a6f04c0dbd5139cd876758fb2a11fad7cd.zip | |
suppress 'clippy::approx_constant' lint in test case
| -rw-r--r-- | crates/syntax/src/ast/token_ext.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/syntax/src/ast/token_ext.rs b/crates/syntax/src/ast/token_ext.rs index ca18196300d..4ad7cf33cdc 100644 --- a/crates/syntax/src/ast/token_ext.rs +++ b/crates/syntax/src/ast/token_ext.rs @@ -481,6 +481,7 @@ bcde", b"abcde", #[test] fn test_value_underscores() { + #[allow(clippy::approx_constant)] check_float_value("3.141592653589793_f64", 3.141592653589793_f64); check_float_value("1__0.__0__f32", 10.0); check_int_value("0b__1_0_", 2); |
