1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-30 12:07:46 +00:00

refactor: format code with new rules

This commit is contained in:
Kevin Amado 2022-03-22 18:33:22 -05:00
parent f42839ae99
commit f0a5f42d87
2 changed files with 4 additions and 3 deletions

View file

@ -6,8 +6,8 @@ format_macro_bodies = true
format_macro_matchers = true
format_strings = true
hex_literal_case = "Lower"
imports_granularity = "Crate"
imports_layout = "HorizontalVertical"
imports_granularity = "Item"
imports_layout = "Vertical"
max_width = 80
normalize_comments = true
normalize_doc_attributes = true

View file

@ -132,7 +132,8 @@ pub(crate) fn simple(paths: Vec<String>, quiet: bool) -> Vec<FormattedPath> {
pub(crate) fn tui(paths: Vec<String>) -> std::io::Result<Vec<FormattedPath>> {
use rayon::prelude::*;
use termion::{input::TermRead, raw::IntoRawMode};
use termion::input::TermRead;
use termion::raw::IntoRawMode;
enum Event {
FormattedPath(FormattedPath),