Merge pull request #30 from jupyterkat/update #315
GitHub Actions / clippy
succeeded
Aug 21, 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.80.1 (3f5fd8dd4 2024-08-06)
- cargo 1.80.1 (376290515 2024-07-16)
- clippy 0.1.80 (3f5fd8d 2024-08-06)
Annotations
Check warning on line 62 in crates/mapdiffbot2/src/rendering.rs
github-actions / clippy
direct implementation of `ToString`
warning: direct implementation of `ToString`
--> crates/mapdiffbot2/src/rendering.rs:55:1
|
55 | / impl ToString for BoundingBox {
56 | | fn to_string(&self) -> String {
57 | | format!(
58 | | "({}, {}) -> ({}, {})",
... |
61 | | }
62 | | }
| |_^
|
= 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
Check warning on line 585 in crates/mapdiffbot2/src/rendering.rs
github-actions / clippy
use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader
warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader
--> crates/mapdiffbot2/src/rendering.rs:585:28
|
585 | let image = image::io::Reader::new(std::io::Cursor::new(bytes))
| ^^^^^^
|
= note: `#[warn(deprecated)]` on by default
Loading