Skip to content

Commit

Permalink
None is default, so just use default
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaeroxe committed Oct 2, 2024
1 parent 7f21fae commit 8cc56ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/core/compiler/fingerprint/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2389,7 +2389,7 @@ pub fn parse_rustc_dep_info(rustc_dep_info: &Path) -> CargoResult<RustcDepInfo>
internal("malformed dep-info format, trailing \\".to_string())
})?);
}
ret.files.entry(file.into()).or_insert(None);
ret.files.entry(file.into()).or_default();
}
} else if let Some(rest) = line.strip_prefix("# checksum:") {
let mut parts = rest.splitn(3, ' ');
Expand Down

0 comments on commit 8cc56ca

Please sign in to comment.