diff --git a/crates/primitives/src/log/mod.rs b/crates/primitives/src/log/mod.rs index 712e1ca91..4d6612b11 100644 --- a/crates/primitives/src/log/mod.rs +++ b/crates/primitives/src/log/mod.rs @@ -132,6 +132,13 @@ impl core::ops::Deref for Log { } } +impl core::ops::DerefMut for Log { + #[inline] + fn deref_mut(&mut self) -> &mut Self::Target { + &mut self.data + } +} + impl Log { /// Creates a new log. #[inline]