Skip to content

Commit 15442d7

Browse files
committed
update
1 parent d654fcc commit 15442d7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

crates/rs-tauri-vue/src-tauri/src/config/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
use std::path::PathBuf;
2+
23
use tauri::api::path;
34

45
// 解析系统配置文件, 加载配置

rustfmt.toml

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#
22
# ref:
3+
# - https://rust-lang.github.io/rustfmt/?version=v1.5.1&search=
34
# - https://gist.github.com/haruleekim/55e015778a325c01866350d5b0b2cbba
45
# - https://github.com/rust-lang/rust/blob/master/rustfmt.toml
56
# - https://github.com/tikv/tikv/blob/master/rustfmt.toml
@@ -21,6 +22,7 @@ ignore = [
2122

2223
# Basic
2324
hard_tabs = false # 是否使用硬制表符
25+
tab_spaces = 4
2426
max_width = 100
2527
use_small_heuristics = "Max"
2628

0 commit comments

Comments
 (0)