Skip to content

Commit d1334ec

Browse files
committed
chore: cargo fmt
1 parent f8fa490 commit d1334ec

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

css-inline/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ use kuchiki::{
3232
pub mod error;
3333
mod parser;
3434

35-
use indexmap::IndexMap;
3635
pub use error::InlineError;
36+
use indexmap::IndexMap;
3737
use smallvec::{smallvec, SmallVec};
3838
use std::{
3939
borrow::Cow,

css-inline/tests/test_inlining.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ fn maintain_rules_order() {
3131
}"#,
3232
body = r#"<a class="test-class" href="https://example.com">Test</a>"#,
3333
// Then the final style should come from the more specific selector
34-
expected =
35-
r#"<a class="test-class" href="https://example.com" style="padding-top: 15px;padding: 10px;padding-left: 12px;">Test</a>"#
34+
expected = r#"<a class="test-class" href="https://example.com" style="padding-top: 15px;padding: 10px;padding-left: 12px;">Test</a>"#
3635
)
3736
}
3837

0 commit comments

Comments
 (0)