Skip to content

Bump serde_json from 1.0.108 to 1.0.109 (#89) #229

Bump serde_json from 1.0.108 to 1.0.109 (#89)

Bump serde_json from 1.0.108 to 1.0.109 (#89) #229

GitHub Actions / clippy succeeded Jan 2, 2024 in 0s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.77.0-nightly (e51e98dde 2023-12-31)
  • cargo 1.77.0-nightly (ac6bbb332 2023-12-26)
  • clippy 0.1.77 (e51e98d 2023-12-31)

Annotations

Check warning on line 65 in subcryptor/src/keystore.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

question mark operator is useless here

warning: question mark operator is useless here
  --> subcryptor/src/keystore.rs:64:2
   |
64 | /     Ok(array_bytes::slice2array(&decrypted[SEED_OFFSET..SEED_OFFSET + SECRET_KEY_LEN])
65 | |         .map_err(Error::ArrayBytes)?)
   | |_____________________________________^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark
   = note: `#[warn(clippy::needless_question_mark)]` on by default
help: try removing question mark and `Ok()`
   |
64 ~     array_bytes::slice2array(&decrypted[SEED_OFFSET..SEED_OFFSET + SECRET_KEY_LEN])
65 ~         .map_err(Error::ArrayBytes)
   |

Check warning on line 65 in subcryptor/src/keystore.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

question mark operator is useless here

warning: question mark operator is useless here
  --> subcryptor/src/keystore.rs:64:2
   |
64 | /     Ok(array_bytes::slice2array(&decrypted[SEED_OFFSET..SEED_OFFSET + SECRET_KEY_LEN])
65 | |         .map_err(Error::ArrayBytes)?)
   | |_____________________________________^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark
   = note: `#[warn(clippy::needless_question_mark)]` on by default
help: try removing question mark and `Ok()`
   |
64 ~     array_bytes::slice2array(&decrypted[SEED_OFFSET..SEED_OFFSET + SECRET_KEY_LEN])
65 ~         .map_err(Error::ArrayBytes)
   |