Skip to content

Commit 6f99773

Browse files
committed
style: formatted pre-release
1 parent ba06414 commit 6f99773

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/config/style.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ impl From<mdbook::Config> for StyleConfig {
6363
variables: Some(style),
6464
}
6565
} else {
66-
Self { additional_css: None, variables: None }
66+
Self {
67+
additional_css: None,
68+
variables: None,
69+
}
6770
}
6871
}
6972
}

src/renderer/mdzk_renderer.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ impl Renderer for HtmlMdzk {
7878
.context("Unexpected error when constructing destination path")?;
7979
}
8080

81-
8281
// Create data for all notes
8382
let mut data = BTreeMap::new();
8483
data.insert(
@@ -220,7 +219,6 @@ impl Renderer for HtmlMdzk {
220219
}
221220
}
222221

223-
224222
Ok(())
225223
}
226224
}
@@ -267,7 +265,10 @@ fn fix_link(dest: CowStr) -> CowStr {
267265
}
268266

269267
const FONTS: [(&str, &[u8]); 62] = [
270-
("Inter.var.woff2", include_bytes!("theme/css/fonts/Inter.var.woff2")),
268+
(
269+
"Inter.var.woff2",
270+
include_bytes!("theme/css/fonts/Inter.var.woff2"),
271+
),
271272
(
272273
"Source_Code_Pro_v11_All_Charsets_500.woff2",
273274
include_bytes!("theme/css/fonts/Source_Code_Pro_v11_All_Charsets_500.woff2"),

0 commit comments

Comments
 (0)