summaryrefslogtreecommitdiff
path: root/examples/12-transient-0/src/data.hob
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-07-31 10:57:39 +0100
committerMichael Williamson <mike@zwobble.org>2026-07-31 10:57:39 +0100
commit2f76934bf2aa59f78b671c722b73f0d69c7adbd3 (patch)
tree6784f78eafe1bd2d906f410440b101b660e09077 /examples/12-transient-0/src/data.hob
parent578bf1f04b48f48225cfa794a27426cca4f6384a (diff)
Handle singleton structs in Rust
Diffstat (limited to 'examples/12-transient-0/src/data.hob')
-rw-r--r--examples/12-transient-0/src/data.hob4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/12-transient-0/src/data.hob b/examples/12-transient-0/src/data.hob
index 9c715e9..0a55e39 100644
--- a/examples/12-transient-0/src/data.hob
+++ b/examples/12-transient-0/src/data.hob
@@ -1,3 +1,7 @@
+struct StructSingleton {
+ singleton;
+}
+
struct StructWithBool {
field a: Bool;
field b: Bool;