Skip to content

Commit e111c5a

Browse files
committed
chore: clippy
1 parent a9668b1 commit e111c5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ check:
7171
cargo check $(CARGO_ARGS)
7272

7373
clippy:
74-
cargo clippy $(CARGO_ARGS)
74+
cargo clippy $(CARGO_ARGS) --target=riscv64imac-unknown-none-elf
7575

7676
fmt:
7777
cargo fmt $(CARGO_ARGS)

contracts/rsa-test/src/entry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ pub fn test_rsa_2048(msg: &[u8]) {
7676
let signature = pkcs1v15::Signature::try_from(&signature_bytes[..]).unwrap();
7777

7878
let last = current_cycles();
79-
verifying_key.verify(&msg, &signature).unwrap();
79+
verifying_key.verify(msg, &signature).unwrap();
8080
let cycles = current_cycles() - last;
8181
debug(format!(
8282
"cost of rsa-2048 verifying cycles: {} K",

0 commit comments

Comments
 (0)