Created
December 27, 2023 16:01
-
-
Save AntoineSebert/3991b14662a9d4bfa742fbfad126d866 to your computer and use it in GitHub Desktop.
Custom rustfmt rules with explanations
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
# Densify the code horizontally, so more of it fits the screen | |
use_small_heuristics="Max" | |
# More flexible as spacing depends on tab size | |
hard_tabs=true | |
# Shorter code lines | |
use_field_init_shorthand=true | |
# Shorter code lines | |
use_try_shorthand=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment