Skip to content

Commit 8cc56ca

Browse files
committed
None is default, so just use default
1 parent 7f21fae commit 8cc56ca

File tree

1 file changed

+1
-1
lines changed
  • src/cargo/core/compiler/fingerprint

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/fingerprint/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2389,7 +2389,7 @@ pub fn parse_rustc_dep_info(rustc_dep_info: &Path) -> CargoResult<RustcDepInfo>
23892389
internal("malformed dep-info format, trailing \\".to_string())
23902390
})?);
23912391
}
2392-
ret.files.entry(file.into()).or_insert(None);
2392+
ret.files.entry(file.into()).or_default();
23932393
}
23942394
} else if let Some(rest) = line.strip_prefix("# checksum:") {
23952395
let mut parts = rest.splitn(3, ' ');

0 commit comments

Comments
 (0)