-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
68: Apply rustfmt to more places r=taiki-e a=taiki-e Co-authored-by: Taiki Endo <[email protected]>
- Loading branch information
Showing
5 changed files
with
21 additions
and
22 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
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
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 |
---|---|---|
@@ -1,7 +1,13 @@ | ||
version = "Two" | ||
# Rustfmt configuration | ||
# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md | ||
|
||
version = "Two" # https://github.com/rust-lang/rustfmt/issues/3383 | ||
use_small_heuristics = "Max" | ||
merge_imports = true # https://github.com/rust-lang/rustfmt/issues/3362 | ||
format_code_in_doc_comments = true # https://github.com/rust-lang/rustfmt/issues/3348 | ||
|
||
# Set the default settings again to always apply the proper formatting without being affected by the editor settings. | ||
# Set the default settings again to always apply the proper formatting without | ||
# being affected by the editor settings. | ||
# Refs: https://github.com/rust-lang/rls/issues/501#issuecomment-333717736 | ||
edition = "2018" | ||
tab_spaces = 4 |
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
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