From 5fd0ceb6e9e996c7e8cbafd2bb88da9f769eb532 Mon Sep 17 00:00:00 2001 From: Ian Joiner <14581281+iajoiner@users.noreply.github.com> Date: Thu, 10 Oct 2024 16:55:09 -0400 Subject: [PATCH] fix: happy clippy (new_without_default) --- crates/proof-of-sql/src/sql/proof/result_builder.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/proof-of-sql/src/sql/proof/result_builder.rs b/crates/proof-of-sql/src/sql/proof/result_builder.rs index 34c19438e..4f296c46f 100644 --- a/crates/proof-of-sql/src/sql/proof/result_builder.rs +++ b/crates/proof-of-sql/src/sql/proof/result_builder.rs @@ -9,6 +9,12 @@ pub struct ResultBuilder { num_post_result_challenges: usize, } +impl Default for ResultBuilder { + fn default() -> Self { + Self::new() + } +} + impl ResultBuilder { /// Create a new result builder for a table with the given length. For multi table queries, this will likely need to change. pub fn new() -> Self {