Skip to content

Commit 2ce6edc

Browse files
committed
fix the cargo fmt command
1 parent 8d9bebd commit 2ce6edc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Justfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ verify-doc $RUSTDOCFLAGS="--cfg docsrs -D warnings":
204204

205205
# Verify formatting rules are not violated.
206206
verify-fmt:
207-
cargo fmt -- --check
207+
cargo fmt --all --check
208208

209209
# === CLEAN ===
210210

@@ -305,4 +305,4 @@ release-bug-template ver:
305305
let idx = (cat $path | str index-of '# <newest-release=v{{ver}}>');
306306
if ($idx == -1) {
307307
sed -z -i 's/# <newest-release=v[^>]*>/# <newest-release=v{{ver}}>\n - v{{ver}}/' $path;
308-
}
308+
}

crates/rsonpath-test-codegen/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ impl DocumentName {
111111

112112
if self.is_compressed {
113113
Path::join(&PathBuf::from("compressed"), s)
114-
}
115-
else {
114+
} else {
116115
s
117116
}
118117
}

0 commit comments

Comments
 (0)