Skip to content

Commit 383b521

Browse files
Copilotnunoplopes
andauthored
Run rustfmt on rule-preprocessor/src/semantic.rs
Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>
1 parent a141c0c commit 383b521

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎rule-preprocessor/src/semantic.rs‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,7 @@ fn find_artifact_in_dir(dir: &Path, crate_name: &str, kind: ArtifactKind) -> Opt
181181
}
182182
}
183183
ArtifactKind::ProcMacro => {
184-
if name.ends_with(".so")
185-
|| name.ends_with(".dylib")
186-
|| name.ends_with(".dll")
187-
{
184+
if name.ends_with(".so") || name.ends_with(".dylib") || name.ends_with(".dll") {
188185
return Some(entry.path());
189186
}
190187
}

0 commit comments

Comments
 (0)