diff options
| author | bors <bors@rust-lang.org> | 2023-01-09 14:53:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-01-09 14:53:46 +0000 |
| commit | ba204ef07b093c5a57623301ba1dbc42eae7fac6 (patch) | |
| tree | 50ebe972e5ec83a1de361f2de5ee32904c290478 | |
| parent | d33fa38cc912c3b184f63290aaf6ebbd3d0a863e (diff) | |
| parent | b196e5b2f6b211420bb874d1e4c44e58468ff5ed (diff) | |
| download | rust-ba204ef07b093c5a57623301ba1dbc42eae7fac6.tar.gz rust-ba204ef07b093c5a57623301ba1dbc42eae7fac6.zip | |
Auto merge of #13863 - danieleades:approx-constant, r=Veykril
minor: suppress 'clippy::approx_constant' lint in test case suppresses a false positive clippy lint
| -rw-r--r-- | crates/syntax/src/ast/token_ext.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/syntax/src/ast/token_ext.rs b/crates/syntax/src/ast/token_ext.rs index ca18196300d..2cd312e7f4f 100644 --- a/crates/syntax/src/ast/token_ext.rs +++ b/crates/syntax/src/ast/token_ext.rs @@ -481,7 +481,7 @@ bcde", b"abcde", #[test] fn test_value_underscores() { - check_float_value("3.141592653589793_f64", 3.141592653589793_f64); + check_float_value("1.234567891011121_f64", 1.234567891011121_f64); check_float_value("1__0.__0__f32", 10.0); check_int_value("0b__1_0_", 2); check_int_value("1_1_1_1_1_1", 111111); |
