Skip to content

Commit

Permalink
remove writeable impl [u8; 4] (mimblewimble#3132)
Browse files Browse the repository at this point in the history
  • Loading branch information
antiochp authored Jan 29, 2020
1 parent b01ab44 commit 5e1fe44
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/src/ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -818,12 +818,6 @@ impl<A: Readable, B: Readable, C: Readable, D: Readable> Readable for (A, B, C,
}
}

impl Writeable for [u8; 4] {
fn write<W: Writer>(&self, writer: &mut W) -> Result<(), Error> {
writer.write_bytes(self)
}
}

/// Trait for types that can be added to a PMMR.
pub trait PMMRable: Writeable + Clone + Debug + DefaultHashable {
/// The type of element actually stored in the MMR data file.
Expand Down

0 comments on commit 5e1fe44

Please sign in to comment.