Skip to content

Commit

Permalink
tweak format
Browse files Browse the repository at this point in the history
  • Loading branch information
viperML committed Jan 10, 2024
1 parent bde5048 commit 20a7b3d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ struct SearchResult {
package_position: Option<String>,
}

#[derive(Debug, Deserialize)]
struct License {
url: String,
fullName: String,
}

impl NHRunnable for SearchArgs {
fn run(&self) -> Result<()> {
trace!("args: {self:?}");
Expand Down Expand Up @@ -139,11 +133,11 @@ impl NHRunnable for SearchArgs {

if self.long {
for url in elem.package_homepage.iter() {
println!(" Homepage: {}", url);
println!(" Homepage: {}", url);
}

if !elem.package_license_set.is_empty() {
println!(" License: {}", elem.package_license_set.join(", "));
println!(" License: {}", elem.package_license_set.join(", "));
}
}
}
Expand Down

0 comments on commit 20a7b3d

Please sign in to comment.