Skip to content

Commit

Permalink
fix: happy clippy (new_without_default)
Browse files Browse the repository at this point in the history
  • Loading branch information
iajoiner committed Oct 10, 2024
1 parent 8c6ba87 commit c51f719
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/proof-of-sql/src/sql/proof/result_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c51f719

Please sign in to comment.