build(deps): bump async-graphql and cidr-utils #19
GitHub Actions / clippy
failed
Oct 3, 2024 in 0s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
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 failure on line 86 in src/lib.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> src/lib.rs:86:38
|
86 | ip_cidr.contains(ip_value)
| -------- ^^^^^^^^ expected `&IpAddr`, found `IpAddr`
| |
| arguments to this method are incorrect
|
note: method defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cidr-0.2.3/src/cidr/combined.rs:142:15
|
142 | pub const fn contains(&self, addr: &IpAddr) -> bool {
| ^^^^^^^^
help: consider borrowing here
|
86 | ip_cidr.contains(&ip_value)
| +
Loading