Skip to content

Commit ec34488

Browse files
committed
Remove lint clippy::suboptimal_flops
suboptimal_flops suggest rewriting code in a style that is less readable (e.g. with mul_add) for very thin benefit (better rounding error *on some platforms*). See for instance EmbarkStudios/puffin@9bd18e6 I find it a net loss, so I make this PR to solicit other opinions. Related: rust-lang/rust-clippy#6867
1 parent c8e9ce2 commit ec34488

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lints.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@
3636
clippy::pub_enum_variant_names,
3737
clippy::ref_option_ref,
3838
clippy::rest_pat_in_fully_bound_structs,
39-
clippy::string_add_assign,
39+
clippy::string_add_assign,
4040
clippy::string_add,
4141
clippy::string_to_string,
42-
clippy::suboptimal_flops,
4342
clippy::todo,
4443
clippy::unimplemented,
4544
clippy::unnested_or_patterns,
@@ -51,4 +50,4 @@
5150
)]
5251
// END - Embark standard lints v0.3
5352
// crate-specific exceptions:
54-
#![allow()]
53+
#![allow()]

0 commit comments

Comments
 (0)