mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-07-23 22:25:48 +00:00
Fix indentation of cfg that isn't formatted by rustfmt
This commit is contained in:
+28
-25
@@ -102,31 +102,34 @@
|
|||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
// Ignored clippy_pedantic lints
|
// Ignored clippy_pedantic lints
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(
|
#![cfg_attr(
|
||||||
// integer and float ser/de requires these sorts of casts
|
feature = "cargo-clippy",
|
||||||
cast_possible_truncation,
|
allow(
|
||||||
cast_possible_wrap,
|
// integer and float ser/de requires these sorts of casts
|
||||||
cast_precision_loss,
|
cast_possible_truncation,
|
||||||
cast_sign_loss,
|
cast_possible_wrap,
|
||||||
// simplifies some macros
|
cast_precision_loss,
|
||||||
invalid_upcast_comparisons,
|
cast_sign_loss,
|
||||||
// things are often more readable this way
|
// simplifies some macros
|
||||||
decimal_literal_representation,
|
invalid_upcast_comparisons,
|
||||||
module_name_repetitions,
|
// things are often more readable this way
|
||||||
option_unwrap_used,
|
decimal_literal_representation,
|
||||||
result_unwrap_used,
|
module_name_repetitions,
|
||||||
shadow_reuse,
|
option_unwrap_used,
|
||||||
single_match_else,
|
result_unwrap_used,
|
||||||
use_self,
|
shadow_reuse,
|
||||||
// not practical
|
single_match_else,
|
||||||
indexing_slicing,
|
use_self,
|
||||||
many_single_char_names,
|
// not practical
|
||||||
missing_docs_in_private_items,
|
indexing_slicing,
|
||||||
similar_names,
|
many_single_char_names,
|
||||||
// alternative is not stable
|
missing_docs_in_private_items,
|
||||||
empty_enum,
|
similar_names,
|
||||||
use_debug,
|
// alternative is not stable
|
||||||
))]
|
empty_enum,
|
||||||
|
use_debug,
|
||||||
|
)
|
||||||
|
)]
|
||||||
// Blacklisted Rust lints.
|
// Blacklisted Rust lints.
|
||||||
//
|
//
|
||||||
// Compiler bug involving unused_imports:
|
// Compiler bug involving unused_imports:
|
||||||
|
|||||||
Reference in New Issue
Block a user