Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlattimore committed Feb 20, 2024
1 parent f21d720 commit c3fce0d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/summary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,8 @@ impl PackageSummary {

impl Summary {
pub(crate) fn new(crate_index: &CrateIndex, config: &Config) -> Self {
let pkg_configs: FxHashMap<&PermSel, &PackageConfig> = config
.permissions
.packages
.iter()
.collect();
let pkg_configs: FxHashMap<&PermSel, &PackageConfig> =
config.permissions.packages.iter().collect();
let mut packages: Vec<PackageSummary> = crate_index
.package_ids()
.map(|pkg_id| {
Expand Down

0 comments on commit c3fce0d

Please sign in to comment.