Skip to content

Commit

Permalink
chore: format rust code
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzgydi committed Nov 12, 2022
1 parent a211fc7 commit 4668be6
Show file tree
Hide file tree
Showing 31 changed files with 3,215 additions and 3,209 deletions.
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ charset = utf-8
end_of_line = lf
indent_size = 2
insert_final_newline = true

[*.rs]
charset = utf-8
end_of_line = lf
indent_size = 4
insert_final_newline = true
2 changes: 1 addition & 1 deletion src-tauri/build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
fn main() {
tauri_build::build()
tauri_build::build()
}
2 changes: 1 addition & 1 deletion src-tauri/rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
max_width = 100
hard_tabs = false
tab_spaces = 2
tab_spaces = 4
newline_style = "Auto"
use_small_heuristics = "Default"
reorder_imports = true
Expand Down
Loading

0 comments on commit 4668be6

Please sign in to comment.