Skip to content

Commit

Permalink
Added rustfmt and updated gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
elichai committed May 1, 2019
1 parent d8cbadb commit fc78bea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk
=======

.idea
6 changes: 6 additions & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
max_width = 135
use_field_init_shorthand = true
use_try_shorthand = true
use_small_heuristics = "Max"
newline_style = "unix"
edition = "2018"

0 comments on commit fc78bea

Please sign in to comment.