CustomSection derive Default

This commit is contained in:
Frank Rehberger 2018-02-11 22:22:33 +01:00
parent 92901b838b
commit de64dea1b4

View File

@ -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>,