mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
remove writeable impl [u8; 4] (#3132)
This commit is contained in:
parent
b01ab44475
commit
5e1fe44bed
1 changed files with 0 additions and 6 deletions
|
@ -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.
|
/// Trait for types that can be added to a PMMR.
|
||||||
pub trait PMMRable: Writeable + Clone + Debug + DefaultHashable {
|
pub trait PMMRable: Writeable + Clone + Debug + DefaultHashable {
|
||||||
/// The type of element actually stored in the MMR data file.
|
/// The type of element actually stored in the MMR data file.
|
||||||
|
|
Loading…
Reference in a new issue