Skip to content

Add option to use return type in tests #383

Add option to use return type in tests

Add option to use return type in tests #383

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded Oct 12, 2023 in 0s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check warning on line 70 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

used `unwrap()` on `None` value

warning: used `unwrap()` on `None` value
  --> src/lib.rs:70:13
   |
70 |             input.unwrap()
   |             ^^^^^^^^^^^^^^
   |
help: remove the `None` and `unwrap()`
  --> src/lib.rs:67:24
   |
67 |         #[pm(input = { None, None, None })]
   |                        ^^^^
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_literal_unwrap
   = note: `#[warn(clippy::unnecessary_literal_unwrap)]` on by default