Skip to content

fix(deps): update for cidr-utils changes #20

fix(deps): update for cidr-utils changes

fix(deps): update for cidr-utils changes #20

GitHub Actions / clippy succeeded Oct 3, 2024 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check warning on line 189 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

direct implementation of `ToString`

warning: direct implementation of `ToString`
   --> src/lib.rs:181:1
    |
181 | / impl ToString for NoProxy {
182 | |     fn to_string(&self) -> String {
183 | |         self.content
184 | |             .iter()
...   |
188 | |     }
189 | | }
    | |_^
    |
    = help: prefer implementing `Display` instead
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl

Check warning on line 48 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

direct implementation of `ToString`

warning: direct implementation of `ToString`
  --> src/lib.rs:39:1
   |
39 | / impl ToString for NoProxyItem {
40 | |     fn to_string(&self) -> String {
41 | |         match self {
42 | |             Self::Wildcard => "*".into(),
...  |
47 | |     }
48 | | }
   | |_^
   |
   = help: prefer implementing `Display` instead
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
   = note: `#[warn(clippy::to_string_trait_impl)]` on by default