Skip to content

VectorCraft: An open-source, vector art tool written by scratch in pure Rust

SVG import: the shared appearance needs no conversion (clippy)

bflatastic9827bfbcbbef
diff --git a/crates/svg/src/import.rs b/crates/svg/src/import.rs
index b9732794a..cffe23405 100644
--- a/crates/svg/src/import.rs
+++ b/crates/svg/src/import.rs
@@ -1533,7 +1533,7 @@ impl Importer {
} else {
self.named(p.id(), NodeKind::Path { path, rule: r, live: None, clipping: false, guide: false })
};
- n.appearance = appearance.into();
+ n.appearance = appearance;
Some(n)
}