2024 oct new clippy lints (#9448)

Fixes new lints from `cargo +nightly clippy` (`clippy 0.1.83 (798fb83f
2024-10-16)`)
This commit is contained in:
Conrad Ludgate
2024-10-18 10:27:50 +01:00
committed by GitHub
parent d762ad0883
commit b8304f90d6
45 changed files with 92 additions and 124 deletions

View File

@@ -97,7 +97,7 @@ pub fn draw_svg(
Ok(result)
}
impl<'a> SvgDraw<'a> {
impl SvgDraw<'_> {
fn calculate_svg_layout(&mut self) {
// Find x scale
let segments = &self.storage.segments;