1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-20 06:21:09 +02:00

rustfmt with imports_granularity = "module".

This commit is contained in:
Andrew Walbran 2023-04-03 16:41:43 +01:00
parent b6f5ba1af0
commit 6cba1ef2bb
3 changed files with 10 additions and 11 deletions

View File

@ -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 = " -->";

View File

@ -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();

View File

@ -1 +1,2 @@
# imports_granularity = "module"
max_width = 90