From 24f2dae24fbb9c47b62cb5d536257321a1d1a2ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sun, 9 Nov 2025 03:27:10 +0100 Subject: [PATCH] Fix formatting: move #[allow(dead_code)] to separate line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cargo fmt requires attribute macros to be on their own line. This fixes the CI lint failure. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/parser/gradient.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/parser/gradient.rs b/src/parser/gradient.rs index 741b60f..71bcb2d 100644 --- a/src/parser/gradient.rs +++ b/src/parser/gradient.rs @@ -10,7 +10,8 @@ pub struct ColorStop { #[derive(Debug, Clone)] pub struct Gradient { pub stops: Vec, - #[allow(dead_code)] pub angle: f64, + #[allow(dead_code)] + pub angle: f64, } impl Gradient {