From b63319bba9d95d41dae9e20a2035318628bef67f Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Fri, 31 Jan 2025 16:15:14 -0500 Subject: Fix misc clippy lints --- rust/src/function.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rust/src/function.rs') diff --git a/rust/src/function.rs b/rust/src/function.rs index 63ebc82e..f122aeff 100644 --- a/rust/src/function.rs +++ b/rust/src/function.rs @@ -139,6 +139,12 @@ impl NativeBlock { } } +impl Default for NativeBlock { + fn default() -> Self { + NativeBlock::new() + } +} + impl BlockContext for NativeBlock { type Instruction = u64; type InstructionIndex = u64; -- cgit v1.3.1