File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff line change @@ -24,17 +24,17 @@ clear-target:
2424
2525# Run cargo clippy on all crates
2626clippy * 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
3333clippy-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
You can’t perform that action at this time.
0 commit comments