Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
holykol committed Apr 18, 2024
1 parent aae20ea commit 54a0954
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 54a0954

Please sign in to comment.