summaryrefslogtreecommitdiff
path: root/rust/src/function.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-01-31 16:15:14 -0500
committerMason Reed <mason@vector35.com>2025-01-31 16:17:30 -0500
commitb63319bba9d95d41dae9e20a2035318628bef67f (patch)
tree9ae97907aa3f30aebb8654dcec9ab68472f7fbfc /rust/src/function.rs
parent18dde29a06847598d97a5166e3badb14a779c001 (diff)
Fix misc clippy lints
Diffstat (limited to 'rust/src/function.rs')
-rw-r--r--rust/src/function.rs6
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;