mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-20 14:31:15 +02:00
rustfmt with imports_granularity = "module".
This commit is contained in:
parent
b6f5ba1af0
commit
6cba1ef2bb
@ -14,11 +14,9 @@
|
||||
|
||||
use log::{info, trace};
|
||||
use pulldown_cmark::{Event, Parser, Tag};
|
||||
use std::{
|
||||
fs::{create_dir_all, File},
|
||||
io::Write,
|
||||
path::Path,
|
||||
};
|
||||
use std::fs::{create_dir_all, File};
|
||||
use std::io::Write;
|
||||
use std::path::Path;
|
||||
|
||||
const FILENAME_START: &str = "<!-- File ";
|
||||
const FILENAME_END: &str = " -->";
|
||||
|
@ -14,13 +14,13 @@
|
||||
|
||||
use anyhow::Context;
|
||||
use log::trace;
|
||||
use mdbook::{book::Book, renderer::RenderContext, BookItem};
|
||||
use mdbook::book::Book;
|
||||
use mdbook::renderer::RenderContext;
|
||||
use mdbook::BookItem;
|
||||
use mdbook_exerciser::process;
|
||||
use std::{
|
||||
fs::{create_dir, remove_dir_all},
|
||||
io::stdin,
|
||||
path::Path,
|
||||
};
|
||||
use std::fs::{create_dir, remove_dir_all};
|
||||
use std::io::stdin;
|
||||
use std::path::Path;
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
pretty_env_logger::init();
|
||||
|
@ -1 +1,2 @@
|
||||
# imports_granularity = "module"
|
||||
max_width = 90
|
||||
|
Loading…
x
Reference in New Issue
Block a user