summaryrefslogtreecommitdiff
path: root/examples/09-custom-code/output/rust/src/shapes.rs
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-07-31 10:50:10 +0100
committerMichael Williamson <mike@zwobble.org>2026-07-31 10:50:10 +0100
commit578bf1f04b48f48225cfa794a27426cca4f6384a (patch)
treefc5c2737ffa65e20305f165a593111463a36166d /examples/09-custom-code/output/rust/src/shapes.rs
parent1831d27671abe87bcbea5da40517093c37efb9b7 (diff)
Support singleton structs
Diffstat (limited to 'examples/09-custom-code/output/rust/src/shapes.rs')
-rw-r--r--examples/09-custom-code/output/rust/src/shapes.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/09-custom-code/output/rust/src/shapes.rs b/examples/09-custom-code/output/rust/src/shapes.rs
deleted file mode 100644
index f806bbb..0000000
--- a/examples/09-custom-code/output/rust/src/shapes.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-include!("gen/shapes.rs");
-
-impl Square {
- pub fn area(&self) -> i32 {
- self.width * self.width
- }
-}