This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

♻️ Use format!("{expr}") instead of format!("{}", expr) in more places

+8 -8
+8 -8
src/rendering/svg.rs
··· 252 252 impl Display for PathInstruction { 253 253 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { 254 254 match self { 255 - Self::MoveTo((x, y)) => write!(f, "M {} {}", x, y), 256 - Self::LineTo((x, y)) => write!(f, "L {} {}", x, y), 257 - Self::HorizontalLineTo(x) => write!(f, "H {}", x), 258 - Self::VerticalLineTo(y) => write!(f, "V {}", y), 255 + Self::MoveTo((x, y)) => write!(f, "M {x} {y}"), 256 + Self::LineTo((x, y)) => write!(f, "L {x} {y}"), 257 + Self::HorizontalLineTo(x) => write!(f, "H {x}"), 258 + Self::VerticalLineTo(y) => write!(f, "V {y}"), 259 259 Self::CurveTo((x1, y1), (x2, y2), (x3, y3)) => { 260 - write!(f, "C {} {} {} {} {} {}", x1, y1, x2, y2, x3, y3) 260 + write!(f, "C {x1} {y1} {x2} {y2} {x3} {y3}") 261 261 } 262 262 Self::SmoothCurveTo((x2, y2), (x3, y3)) => { 263 - write!(f, "S {} {} {} {}", x2, y2, x3, y3) 263 + write!(f, "S {x2} {y2} {x3} {y3}") 264 264 } 265 265 Self::QuadraticCurveTo((x1, y1), (x2, y2)) => { 266 - write!(f, "Q {} {} {} {}", x1, y1, x2, y2) 266 + write!(f, "Q {x1} {y1} {x2} {y2}") 267 267 } 268 268 Self::SmoothQuadraticCurveTo((x2, y2)) => { 269 - write!(f, "T {} {}", x2, y2) 269 + write!(f, "T {x2} {y2}") 270 270 } 271 271 Self::ArcTo( 272 272 (rx, ry),