chore(deps): bump actions/setup-node from 3.8.1 to 4.0.0 #82
GitHub Actions / clippy
succeeded
Oct 24, 2023 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
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 332 in src/lib.rs
github-actions / clippy
casting to the same type is unnecessary (`usize` -> `usize`)
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> src/lib.rs:332:48
|
332 | let value_data = data.split_at(size as usize).0;
| ^^^^^^^^^^^^^ help: try: `size`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
Check warning on line 330 in src/lib.rs
github-actions / clippy
casting to the same type is unnecessary (`usize` -> `usize`)
warning: casting to the same type is unnecessary (`usize` -> `usize`)
--> src/lib.rs:330:34
|
330 | data.len() - size as usize
| ^^^^^^^^^^^^^ help: try: `size`
|
= 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
Check warning on line 17 in src/lib.rs
github-actions / clippy
needless `fn main` in doctest
warning: needless `fn main` in doctest
--> src/lib.rs:17:4
|
17 | //! use qt_json::QJSONDocument;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
Loading