Skip to content

Commit 7b6e176

Browse files
committed
lint fix, just file adjustment
1 parent 2e0ce50 commit 7b6e176

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

gix-features/src/hash.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ mod _impl {
1414
impl Sha1 {
1515
/// Digest the given `bytes`.
1616
pub fn update(&mut self, bytes: &[u8]) {
17-
self.0.update(bytes)
17+
self.0.update(bytes);
1818
}
1919
/// Finalize the hash and produce a digest.
2020
pub fn digest(self) -> Sha1Digest {

justfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ clear-target:
2424

2525
# Run cargo clippy on all crates
2626
clippy *clippy-args:
27-
cargo clippy --all --tests --examples --benches -- {{ clippy-args }}
28-
cargo clippy --all --no-default-features --features small -- {{ clippy-args }}
29-
cargo clippy --all --no-default-features --features max-pure -- {{ clippy-args }}
30-
cargo clippy --all --no-default-features --features lean-async --tests -- {{ clippy-args }}
27+
cargo clippy --workspace --all-targets -- {{ clippy-args }}
28+
cargo clippy --workspace --no-default-features --features small -- {{ clippy-args }}
29+
cargo clippy --workspace --no-default-features --features max-pure -- {{ clippy-args }}
30+
cargo clippy --workspace --no-default-features --features lean-async --tests -- {{ clippy-args }}
3131

3232
# Run cargo clippy on all crates, fixing what can be fixed, and format all code
3333
clippy-fix:
34-
cargo clippy --fix --all --tests --examples
35-
cargo clippy --fix --allow-dirty --all --no-default-features --features small
36-
cargo clippy --fix --allow-dirty --all --no-default-features --features max-pure
37-
cargo clippy --fix --allow-dirty --all --no-default-features --features lean-async --tests
34+
cargo clippy --fix --workspace --all-targets
35+
cargo clippy --fix --allow-dirty --workspace --no-default-features --features small
36+
cargo clippy --fix --allow-dirty --workspace --no-default-features --features max-pure
37+
cargo clippy --fix --allow-dirty --workspace --no-default-features --features lean-async --tests
3838
cargo fmt --all
3939

4040
# Build all code in suitable configurations

0 commit comments

Comments
 (0)