1
Fork 0

removed dead code

This commit is contained in:
Andy Killorin 2023-11-06 13:26:35 -06:00
parent ee07ec1b2c
commit 038394f2eb
No known key found for this signature in database
GPG key ID: 8CB11B45B690DC2A

View file

@ -227,14 +227,6 @@ impl Construct {
} }
} }
/// A construct with no parts
fn cosmetic(visualization: ScadObject) -> Self {
Construct {
visualization,
parts: Vec::new(),
}
}
/// Convert to tuple /// Convert to tuple
/// (visualization, parts) /// (visualization, parts)
fn tup(self) -> (ScadObject, Vec<ScadObject>) { fn tup(self) -> (ScadObject, Vec<ScadObject>) {
@ -335,6 +327,7 @@ fn wing(
enum SparType { enum SparType {
/// No spar, just struts /// No spar, just struts
#[allow(unused)]
None, None,
/// Spar along the top of the wing /// Spar along the top of the wing
Top, Top,