Skip to content

feat: add sequence number for replay protection #108

feat: add sequence number for replay protection

feat: add sequence number for replay protection #108

GitHub Actions / clippy succeeded Oct 15, 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.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check warning on line 287 in crates/cli/src/handler/enclave_start.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

used `unwrap()` on an `Option` value

warning: used `unwrap()` on an `Option` value
   --> crates/cli/src/handler/enclave_start.rs:287:34
    |
287 |             let prefix_command = parts.next().unwrap();
    |                                  ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: if this value is `None`, it will panic
    = help: consider using `expect()` to provide a better panic message
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
note: the lint level is defined here
   --> crates/cli/src/main.rs:7:5
    |
7   |     clippy::unwrap_used,
    |     ^^^^^^^^^^^^^^^^^^^

Check warning on line 287 in crates/cli/src/handler/enclave_start.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

used `unwrap()` on an `Option` value

warning: used `unwrap()` on an `Option` value
   --> crates/cli/src/handler/enclave_start.rs:287:34
    |
287 |             let prefix_command = parts.next().unwrap();
    |                                  ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: if this value is `None`, it will panic
    = help: consider using `expect()` to provide a better panic message
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
note: the lint level is defined here
   --> crates/cli/src/main.rs:7:5
    |
7   |     clippy::unwrap_used,
    |     ^^^^^^^^^^^^^^^^^^^