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/10-imports/output/rust/src/line.rs | |
| parent | 85d6843940295d4121fbf4313d5381ca9381f365 (diff) | |
Derive Hash for generated Rust types
Diffstat (limited to 'examples/10-imports/output/rust/src/line.rs')
| -rw-r--r-- | examples/10-imports/output/rust/src/line.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/10-imports/output/rust/src/line.rs b/examples/10-imports/output/rust/src/line.rs index e29c94b..d383b15 100644 --- a/examples/10-imports/output/rust/src/line.rs +++ b/examples/10-imports/output/rust/src/line.rs @@ -1,7 +1,7 @@ // Generated by hobgoblin. /// A straight line from one point to another. -#[derive(Debug, PartialEq)] +#[derive(Debug, Hash, PartialEq)] pub struct Line { pub start: crate::point::Point, pub end: crate::point::Point, |
