diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..74a3a46 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,3 @@ +edition = "2018" +# https://github.com/rust-lang/rustfmt/issues/4991 +imports_granularity = "Module" diff --git a/src/markdown_deps.rs b/src/markdown_deps.rs index 035bb17..779d30b 100644 --- a/src/markdown_deps.rs +++ b/src/markdown_deps.rs @@ -1,5 +1,6 @@ #![cfg(feature = "markdown_deps_updated")] -use pulldown_cmark::{CodeBlockKind::Fenced, Event, Parser, Tag}; +use pulldown_cmark::CodeBlockKind::Fenced; +use pulldown_cmark::{Event, Parser, Tag}; use semver::{Version, VersionReq}; use toml::Value;