diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-25 19:09:59 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-25 19:09:59 +0100 |
| commit | 26ab534795dcced8ae6e7b4898b50748b73c930e (patch) | |
| tree | abff77bb1a44ed24480350728f8a1046cf3662b2 /examples/09-custom-code/output/rust/src/gen | |
| parent | 85d6843940295d4121fbf4313d5381ca9381f365 (diff) | |
Derive Hash for generated Rust types
Diffstat (limited to 'examples/09-custom-code/output/rust/src/gen')
| -rw-r--r-- | examples/09-custom-code/output/rust/src/gen/shapes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/09-custom-code/output/rust/src/gen/shapes.rs b/examples/09-custom-code/output/rust/src/gen/shapes.rs index c5f8af5..815db2a 100644 --- a/examples/09-custom-code/output/rust/src/gen/shapes.rs +++ b/examples/09-custom-code/output/rust/src/gen/shapes.rs @@ -1,6 +1,6 @@ // Generated by hobgoblin. -#[derive(Debug, PartialEq)] +#[derive(Debug, Hash, PartialEq)] pub struct Square { pub width: ::core::primitive::i32, } |
