Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump actions/setup-node from 3.8.1 to 4.0.0 #82

Closed

chore(deps): bump actions/setup-node from 3.8.1 to 4.0.0

189d849
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

chore(deps): bump actions/setup-node from 3.8.1 to 4.0.0 #82

chore(deps): bump actions/setup-node from 3.8.1 to 4.0.0
189d849
Select commit
Loading
Failed to load commit list.
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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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