From 26ab534795dcced8ae6e7b4898b50748b73c930e Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 25 Jul 2026 19:09:59 +0100 Subject: Derive Hash for generated Rust types --- examples/09-custom-code/output/rust/src/gen/shapes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/09-custom-code/output/rust') 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, } -- cgit v1.2.3