Skip to content

Commit 5739579

Browse files
wiktor-kionut-arm
authored andcommitted
Fix clippy lint: useless-vec
Signed-off-by: Wiktor Kwapisiewicz <[email protected]>
1 parent f316ec7 commit 5739579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cryptoki/tests/basic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ fn sha256_digest() -> TestResult {
954954
// data to digest
955955
let data = vec![0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF];
956956

957-
let want = vec![
957+
let want = [
958958
0x17, 0x22, 0x6b, 0x1f, 0x68, 0xae, 0xba, 0xcd, 0xef, 0x07, 0x46, 0x45, 0x0f, 0x64, 0x28,
959959
0x74, 0x63, 0x8b, 0x29, 0x57, 0x07, 0xef, 0x73, 0xfb, 0x2c, 0x6b, 0xb7, 0xf8, 0x8e, 0x89,
960960
0x92, 0x9f,

0 commit comments

Comments
 (0)