Bump codecov/codecov-action from 3 to 4 #9
Triggered via pull request
September 14, 2023 15:52
Status
Success
Total duration
2m 17s
Artifacts
–
Annotations
10 warnings
casting to the same type is unnecessary (`usize` -> `usize`):
src/sodium.rs#L265
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> src/sodium.rs:265:51
|
265 | let mut result = Vec::<u8>::with_capacity(subkey_len as usize);
| ^^^^^^^^^^^^^^^^^^^ help: try: `subkey_len`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
manual `RangeInclusive::contains` implementation:
src/sodium.rs#L262
warning: manual `RangeInclusive::contains` implementation
--> src/sodium.rs:262:17
|
262 | assert!(subkey_len >= 16 && subkey_len <= 64);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(16..=64).contains(&subkey_len)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains
= note: `#[warn(clippy::manual_range_contains)]` on by default
|
needless `fn main` in doctest:
src/sodium.rs#L148
warning: needless `fn main` in doctest
--> src/sodium.rs:148:8
|
148 | /// use tablesalt::sodium::{self, SecretStreamTag};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
|
needless `fn main` in doctest:
src/lib.rs#L17
warning: needless `fn main` in doctest
--> src/lib.rs:17:4
|
17 | //! use tablesalt::sodium;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
|
needless `fn main` in doctest:
src/lib.rs#L5
warning: needless `fn main` in doctest
--> src/lib.rs:5:4
|
5 | //! use tablesalt::sodium;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
= note: `#[warn(clippy::needless_doctest_main)]` on by default
|
casting to the same type is unnecessary (`usize` -> `usize`):
src/sodium.rs#L265
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> src/sodium.rs:265:51
|
265 | let mut result = Vec::<u8>::with_capacity(subkey_len as usize);
| ^^^^^^^^^^^^^^^^^^^ help: try: `subkey_len`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
manual `RangeInclusive::contains` implementation:
src/sodium.rs#L262
warning: manual `RangeInclusive::contains` implementation
--> src/sodium.rs:262:17
|
262 | assert!(subkey_len >= 16 && subkey_len <= 64);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(16..=64).contains(&subkey_len)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains
= note: `#[warn(clippy::manual_range_contains)]` on by default
|
needless `fn main` in doctest:
src/sodium.rs#L148
warning: needless `fn main` in doctest
--> src/sodium.rs:148:8
|
148 | /// use tablesalt::sodium::{self, SecretStreamTag};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
|
needless `fn main` in doctest:
src/lib.rs#L17
warning: needless `fn main` in doctest
--> src/lib.rs:17:4
|
17 | //! use tablesalt::sodium;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
|
needless `fn main` in doctest:
src/lib.rs#L5
warning: needless `fn main` in doctest
--> src/lib.rs:5:4
|
5 | //! use tablesalt::sodium;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
= note: `#[warn(clippy::needless_doctest_main)]` on by default
|