Skip to content

Commit b7880fb

Browse files
committed
cargo format
1 parent 64b8173 commit b7880fb

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ pub use html::format_document_with_plugins as format_html_with_plugins;
111111
pub use html::Anchorizer;
112112
pub use parser::{
113113
parse_document, parse_document_with_broken_link_callback, ComrakExtensionOptions,
114-
ComrakOptions, ComrakParseOptions, ComrakPlugins, ComrakRenderOptions, ComrakRenderPlugins, ListStyleType
114+
ComrakOptions, ComrakParseOptions, ComrakPlugins, ComrakRenderOptions, ComrakRenderPlugins,
115+
ListStyleType,
115116
};
116117
pub use typed_arena::Arena;
117118

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ extern crate xdg;
1111

1212
use comrak::{
1313
Arena, ComrakExtensionOptions, ComrakOptions, ComrakParseOptions, ComrakPlugins,
14-
ComrakRenderOptions, ListStyleType
14+
ComrakRenderOptions, ListStyleType,
1515
};
1616

1717
use comrak::adapters::SyntaxHighlighterAdapter;
@@ -233,7 +233,7 @@ if the file does not exist.\
233233
.value_of("list-style")
234234
.unwrap_or("dash")
235235
.parse::<ListStyleType>()
236-
.expect("unknown list style")
236+
.expect("unknown list style"),
237237
},
238238
};
239239

src/parser/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,9 @@ pub enum ListStyleType {
19071907
}
19081908

19091909
impl Default for ListStyleType {
1910-
fn default() -> Self { ListStyleType::Dash }
1910+
fn default() -> Self {
1911+
ListStyleType::Dash
1912+
}
19111913
}
19121914

19131915
impl FromStr for ListStyleType {

src/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fn fuzz_doesnt_crash(md: String) {
3737
width: 80,
3838
unsafe_: true,
3939
escape: false,
40-
list_style: ::ListStyleType::Dash
40+
list_style: ::ListStyleType::Dash,
4141
},
4242
};
4343

0 commit comments

Comments
 (0)