Merge #5302
5302: Simplify r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
349c4fceca
@ -53,7 +53,7 @@ impl GlobalState {
|
||||
if change_kind == ChangeKind::Modify {
|
||||
return false;
|
||||
}
|
||||
if path.extension().map(|it| it.to_str()) != Some("rs".into()) {
|
||||
if path.extension().unwrap_or_default() != "rs" {
|
||||
return false;
|
||||
}
|
||||
if IMPLICIT_TARGET_FILES.iter().any(|it| path.ends_with(it)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user