Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

feat: revert removal of rustfmt #14

Merged
merged 3 commits into from
Jul 12, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
edition = "2018"
match_block_trailing_comma = true
newline_style = "Unix"
use_field_init_shorthand = true
use_small_heuristics = "Max"
use_try_shorthand = true

hard_tabs = true
oSumAtrIX marked this conversation as resolved.
Show resolved Hide resolved
format_code_in_doc_comments = true
group_imports = "StdExternalCrate"
imports_granularity = "Module"
imports_layout = "HorizontalVertical"
match_arm_blocks = true
normalize_comments = true
overflow_delimited_expr = true
struct_lit_single_line = false
oSumAtrIX marked this conversation as resolved.
Show resolved Hide resolved
4 changes: 2 additions & 2 deletions src/logger.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pub fn init() {
// TODO: log to file
tracing_subscriber::fmt::init();
// TODO: log to file
tracing_subscriber::fmt::init();
}
Loading