ignore files that have not been changed recently when checking for changes initially

This commit is contained in:
Evan Almloff committed 2022-06-13 15:33:49 -05:00
1 parent 0c4028ad52
commit b3db5469c3
2 files changed
+145 -65

No files matched your search

+3 -1
View File
@@ -426,7 +426,9 @@ fn find_rsx_expr(
&& old_mac.path.get_ident().map(|ident| ident.to_string())
== Some("rsx".to_string())
{
rsx_calls.push((old_mac.clone(), new_mac.tokens.clone()));
if old_mac != new_mac {
rsx_calls.push((old_mac.clone(), new_mac.tokens.clone()));
}
false
} else {
new_expr != old_expr