Skip to content

Update dependencies and release v6.1.1 #91

Update dependencies and release v6.1.1

Update dependencies and release v6.1.1 #91

GitHub Actions / clippy succeeded Feb 2, 2025 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.84.1 (e71f9a9a9 2025-01-27)
  • cargo 1.84.1 (66221abde 2024-11-19)
  • clippy 0.1.84 (e71f9a9a98 2025-01-27)

Annotations

Check warning on line 485 in src/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

empty line after outer attribute

warning: empty line after outer attribute
   --> src/error.rs:484:5
    |
484 | /     #[serde(flatten)]
485 | |
    | |_^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
    = note: `#[warn(clippy::empty_line_after_outer_attr)]` on by default
    = help: if the empty line is unintentional remove it

Check warning on line 73 in src/api/vswitch.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
  --> src/api/vswitch.rs:73:6
   |
73 | impl<'a> UrlEncode for ServerList<'a> {
   |      ^^                           ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
   |
73 - impl<'a> UrlEncode for ServerList<'a> {
73 + impl UrlEncode for ServerList<'_> {
   |

Check warning on line 23 in src/api/traffic.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
  --> src/api/traffic.rs:23:10
   |
23 |     impl<'a> UrlEncode for TrafficRequest<'a> {
   |          ^^                               ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
   = note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
   |
23 -     impl<'a> UrlEncode for TrafficRequest<'a> {
23 +     impl UrlEncode for TrafficRequest<'_> {
   |