diff --git a/src/summary.rs b/src/summary.rs index b416aa0..2ce8cf2 100644 --- a/src/summary.rs +++ b/src/summary.rs @@ -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 = crate_index .package_ids() .map(|pkg_id| {