mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-05-23 12:41:34 +00:00
CustomSection derive Default
This commit is contained in:
parent
92901b838b
commit
de64dea1b4
@ -195,7 +195,7 @@ impl Serialize for Section {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Custom section
|
/// Custom section
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Default, Clone)]
|
||||||
pub struct CustomSection {
|
pub struct CustomSection {
|
||||||
name: String,
|
name: String,
|
||||||
payload: Vec<u8>,
|
payload: Vec<u8>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user