Skip to content

Commit 755abb6

Browse files
authored
chore(wast): Add clone to Local struct (#1523)
* chore: add clone to instruction and some types * chore: add clone to local struct --------- Co-authored-by: Sérgio da Gama <[email protected]>
1 parent 7589b29 commit 755abb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/wast/src/core/func.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl<'a> Parse<'a> for Func<'a> {
8181
///
8282
/// Each local has an optional identifier for name resolution, an optional name
8383
/// for the custom `name` section, and a value type.
84-
#[derive(Debug)]
84+
#[derive(Debug, Clone)]
8585
pub struct Local<'a> {
8686
/// An identifier that this local is resolved with (optionally) for name
8787
/// resolution.

0 commit comments

Comments
 (0)