Skip to content

Commit 1b36cec

Browse files
committed
Format with rustfmt 0.8.2
1 parent 9530ff6 commit 1b36cec

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,10 @@
318318
#![doc(html_root_url = "https://docs.rs/serde_json/1.0.23")]
319319
#![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]
320320
// Whitelisted clippy lints
321-
#![cfg_attr(feature = "cargo-clippy", allow(doc_markdown, needless_pass_by_value))]
321+
#![cfg_attr(
322+
feature = "cargo-clippy",
323+
allow(doc_markdown, needless_pass_by_value)
324+
)]
322325
// Whitelisted clippy_pedantic lints
323326
#![cfg_attr(feature = "cargo-clippy", allow(
324327
// Deserializer::from_str, into_iter

tests/test.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
// except according to those terms.
88

99
#![cfg(not(feature = "preserve_order"))]
10-
#![cfg_attr(feature = "cargo-clippy", allow(float_cmp, unreadable_literal))]
10+
#![cfg_attr(
11+
feature = "cargo-clippy",
12+
allow(float_cmp, unreadable_literal)
13+
)]
1114
#![cfg_attr(feature = "trace-macros", feature(trace_macros))]
1215
#[cfg(feature = "trace-macros")]
1316
trace_macros!(true);

0 commit comments

Comments
 (0)