GitHub Actions / clippy
succeeded
Jun 10, 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.78.0 (9b00956e5 2024-04-29)
- cargo 1.78.0 (54d8815d0 2024-03-26)
- clippy 0.1.78 (9b00956 2024-04-29)
Annotations
Check warning on line 189 in src/lib.rs
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
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
Loading