diff options
| author | Mason Reed <mason@vector35.com> | 2025-01-31 16:15:14 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-01-31 16:17:30 -0500 |
| commit | b63319bba9d95d41dae9e20a2035318628bef67f (patch) | |
| tree | 9ae97907aa3f30aebb8654dcec9ab68472f7fbfc /rust/src/function.rs | |
| parent | 18dde29a06847598d97a5166e3badb14a779c001 (diff) | |
Fix misc clippy lints
Diffstat (limited to 'rust/src/function.rs')
| -rw-r--r-- | rust/src/function.rs | 6 |
1 files changed, 6 insertions, 0 deletions
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; |
