Skip to content

Commit

Permalink
chore(wast): Add clone to Local struct (#1523)
Browse files Browse the repository at this point in the history
* chore: add clone to instruction and some types

* chore: add clone to local struct

---------

Co-authored-by: Sérgio da Gama <sergio.gama@smartex.ai>
  • Loading branch information
sergiodagama and sergiodagama authored Apr 29, 2024
1 parent 7589b29 commit 755abb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wast/src/core/func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ impl<'a> Parse<'a> for Func<'a> {
///
/// Each local has an optional identifier for name resolution, an optional name
/// for the custom `name` section, and a value type.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct Local<'a> {
/// An identifier that this local is resolved with (optionally) for name
/// resolution.
Expand Down

0 comments on commit 755abb6

Please sign in to comment.