From 54a09546ae7831868d0e9c3a57faf769f31ab61c Mon Sep 17 00:00:00 2001 From: Timofey Date: Thu, 18 Apr 2024 13:05:43 +0000 Subject: [PATCH] fix clippy --- builder/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/builder/src/lib.rs b/builder/src/lib.rs index fd75c64e..d83796c8 100644 --- a/builder/src/lib.rs +++ b/builder/src/lib.rs @@ -5,6 +5,12 @@ pub struct Builder { idl_file_path: PathBuf, } +impl Default for Builder { + fn default() -> Self { + Self::new() + } +} + impl Builder { pub fn new() -> Self { let pkg_name = env::var("CARGO_PKG_NAME").unwrap();