Skip to content

Commit

Permalink
cargo clipppy
Browse files Browse the repository at this point in the history
  • Loading branch information
o2sh committed Oct 30, 2022
1 parent fdd17d3 commit 6b88ac7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/info/deps/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pub struct DependencyDetector {
impl DependencyDetector {
pub fn new() -> Self {
let package_managers = package_manager::build();

DependencyDetector { package_managers }
}

Expand Down Expand Up @@ -50,6 +49,12 @@ impl DependencyDetector {
}
}

impl Default for DependencyDetector {
fn default() -> Self {
Self::new()
}
}

pub struct DependenciesInfo {
pub dependencies: String,
}
Expand Down

0 comments on commit 6b88ac7

Please sign in to comment.