Skip to content

Commit

Permalink
fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
magiclen committed Dec 9, 2023
1 parent 6026ef3 commit 819b5fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "educe"
version = "0.5.0"
version = "0.5.1"
authors = ["Magic Len <len@magiclen.org>"]
edition = "2021"
rust-version = "1.56"
Expand Down
4 changes: 2 additions & 2 deletions src/trait_handlers/hash/hash_enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl TraitHandler for HashEnumHandler {
&built_in_hash
});

block_token_stream.extend(quote!( #hash(#field_name, state) ));
block_token_stream.extend(quote!( #hash(#field_name, state); ));
}

arms_token_stream.extend(quote! {
Expand Down Expand Up @@ -113,7 +113,7 @@ impl TraitHandler for HashEnumHandler {
&built_in_hash
});

block_token_stream.extend(quote!( #hash(#field_name, state) ));
block_token_stream.extend(quote!( #hash(#field_name, state); ));
}

arms_token_stream.extend(quote! {
Expand Down
2 changes: 1 addition & 1 deletion src/trait_handlers/hash/hash_struct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl TraitHandler for HashStructHandler {
&built_in_hash
});

hash_token_stream.extend(quote!( #hash(&self.#field_name, state) ));
hash_token_stream.extend(quote!( #hash(&self.#field_name, state); ));
}
}

Expand Down

0 comments on commit 819b5fe

Please sign in to comment.