We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 257033e commit 38d56cdCopy full SHA for 38d56cd
rewatch/src/lsp/queue/file_build.rs
@@ -248,14 +248,10 @@ fn modules_with_cmi_changed(
248
pre_cmi_hashes: &HashMap<String, Option<blake3::Hash>>,
249
) -> Vec<String> {
250
for (name, old_cmi) in pre_cmi_hashes {
251
- let new_cmi = build_state
252
- .build_state
253
- .modules
254
- .get(name)
255
- .and_then(|m| match m {
256
- Module::SourceFile(sf) => sf.compilation_stage().cmi_hash(),
257
- _ => None,
258
- });
+ let new_cmi = build_state.build_state.modules.get(name).and_then(|m| match m {
+ Module::SourceFile(sf) => sf.compilation_stage().cmi_hash(),
+ _ => None,
+ });
259
if let (Some(old), Some(new)) = (old_cmi, new_cmi)
260
&& old == &new
261
{
0 commit comments