summaryrefslogtreecommitdiff
path: root/examples/01-struct/output/rust/src
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-08-29 23:27:59 +0100
committerMichael Williamson <mike@zwobble.org>2026-08-29 23:27:59 +0100
commite5b0b62785e75d19b4d852712cb6a72ea77429d2 (patch)
treed984963c54b6703a2eaaefcc7a7ce0633e7de1e4 /examples/01-struct/output/rust/src
parent39d0b5105f474dd044022d2bb243eee203a93bfd (diff)
Don't derive Hash for generated Rust types
Diffstat (limited to 'examples/01-struct/output/rust/src')
-rw-r--r--examples/01-struct/output/rust/src/point.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/01-struct/output/rust/src/point.rs b/examples/01-struct/output/rust/src/point.rs
index 6865556..4ba05b1 100644
--- a/examples/01-struct/output/rust/src/point.rs
+++ b/examples/01-struct/output/rust/src/point.rs
@@ -1,14 +1,14 @@
// Generated by hobgoblin.
/// A straight line from one point to another.
-#[derive(Clone, Debug, Hash, PartialEq)]
+#[derive(Clone, Debug, PartialEq)]
pub struct Line {
pub start: crate::point::Point,
pub end: crate::point::Point,
}
/// A 2D point.
-#[derive(Clone, Debug, Hash, PartialEq)]
+#[derive(Clone, Debug, PartialEq)]
pub struct Point {
pub x: ::core::primitive::i32,
pub y: ::core::primitive::i32,