From d8f3ada13e89c3dfd1d98f0ba3e3b5b38a59ffd9 Mon Sep 17 00:00:00 2001 From: rvcas Date: Mon, 31 Oct 2022 13:50:19 -0400 Subject: [PATCH] chore: add default for Interner --- crates/uplc/src/parser/interner.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/uplc/src/parser/interner.rs b/crates/uplc/src/parser/interner.rs index 7b9185bc..6fc6be87 100644 --- a/crates/uplc/src/parser/interner.rs +++ b/crates/uplc/src/parser/interner.rs @@ -7,6 +7,12 @@ pub struct Interner { current: Unique, } +impl Default for Interner { + fn default() -> Self { + Self::new() + } +} + impl Interner { pub fn new() -> Self { Interner {