Fix formatting: move #[allow(dead_code)] to separate line
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 <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,8 @@ pub struct ColorStop {
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Gradient {
|
||||
pub stops: Vec<ColorStop>,
|
||||
#[allow(dead_code)] pub angle: f64,
|
||||
#[allow(dead_code)]
|
||||
pub angle: f64,
|
||||
}
|
||||
|
||||
impl Gradient {
|
||||
|
||||
Reference in New Issue
Block a user