We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7e5eb5 commit a853ee2Copy full SHA for a853ee2
src/main.rs
@@ -1280,7 +1280,7 @@ fn resolve_excluded_paths(cx: &Context) -> Vec<Utf8PathBuf> {
1280
.iter()
1281
.map(|id| cx.ws.metadata.packages[id].manifest_path.parent().unwrap());
1282
let mut excluded_path = vec![];
1283
- let mut contains: HashMap<&Utf8Path, Vec<_>> = HashMap::new();
+ let mut contains: HashMap<&Utf8Path, Vec<_>> = HashMap::default();
1284
for included in included {
1285
for &excluded in excluded.iter().filter(|e| included.starts_with(e)) {
1286
if let Some(v) = contains.get_mut(&excluded) {
0 commit comments