forked from Tongsuo-Project/RustyVault
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
One can now sue `cargo fmt` to format the code
- Loading branch information
1 parent
7c52a93
commit 2199cc4
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[toolchain] | ||
channel = "stable" | ||
components = [ "rustfmt" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
edition = "2021" | ||
|
||
# We are going to enable these after switching to nightly tool chain | ||
#comment_width = 100 | ||
#binop_separator = "Front" | ||
#format_strings = true | ||
#max_width = 100 | ||
#merge_derives = true | ||
#imports_granularity = "Crate" | ||
#newline_style = "Unix" | ||
#merge_imports = true | ||
#normalize_comments = true | ||
#normalize_doc_attributes = true | ||
#reorder_imports = true | ||
#report_fixme = "Always" | ||
#report_todo = "Always" | ||
#trailing_comma = "Vertical" | ||
#use_field_init_shorthand = true |