From bcb4963c55cb04e71e5c00c7a072380a31a2876f Mon Sep 17 00:00:00 2001 From: sergerad Date: Thu, 18 Jul 2024 06:09:21 +1200 Subject: [PATCH] fix clippy and changelog --- CHANGELOG.md | 1 + core/src/mast/serialization/mod.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89c5cd9821..ccbc5c538c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ - Added support for immediate values for `u32and`, `u32or`, `u32xor` and `u32not` bitwise instructions (#1362). - Optimized `std::sys::truncate_stuck` procedure (#1384). - Add serialization/deserialization for `MastForest` (#1370) +- Introduce `MastForestError` to enforce `MastForest` node count invariant (#1394) #### Changed diff --git a/core/src/mast/serialization/mod.rs b/core/src/mast/serialization/mod.rs index a478735c8e..e23cdbd2fb 100644 --- a/core/src/mast/serialization/mod.rs +++ b/core/src/mast/serialization/mod.rs @@ -1,4 +1,4 @@ -use alloc::{string::ToString, vec::Vec}; +use alloc::vec::Vec; use winter_utils::{ByteReader, ByteWriter, Deserializable, DeserializationError, Serializable}; use super::{MastForest, MastNode, MastNodeId};