diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-31 10:57:39 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-31 10:57:39 +0100 |
| commit | 2f76934bf2aa59f78b671c722b73f0d69c7adbd3 (patch) | |
| tree | 6784f78eafe1bd2d906f410440b101b660e09077 /examples/02-struct-singleton | |
| parent | 578bf1f04b48f48225cfa794a27426cca4f6384a (diff) | |
Handle singleton structs in Rust
Diffstat (limited to 'examples/02-struct-singleton')
| -rw-r--r-- | examples/02-struct-singleton/output/rust/src/point.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/02-struct-singleton/output/rust/src/point.rs b/examples/02-struct-singleton/output/rust/src/point.rs index e2d608c..866f0c5 100644 --- a/examples/02-struct-singleton/output/rust/src/point.rs +++ b/examples/02-struct-singleton/output/rust/src/point.rs @@ -1,5 +1,4 @@ // Generated by hobgoblin. #[derive(Debug, Hash, PartialEq)] -pub struct Origin { -} +pub struct Origin; |
