Upgrade to Rust 1.83 (#9511)
## Summary A lot of good new lints, and most importantly, error stabilizations. I tried to find a few usages of the new stabilizations, but I'm sure there are more. IIUC, this _does_ require bumping our MSRV.
This commit is contained in:
@@ -1165,17 +1165,17 @@ pub(crate) fn is_windows_store_shim(path: &Path) -> bool {
|
||||
}
|
||||
|
||||
// Ex) `WindowsApps`
|
||||
if !components
|
||||
if components
|
||||
.next()
|
||||
.is_some_and(|component| component.as_os_str() == "WindowsApps")
|
||||
.is_none_or(|component| component.as_os_str() != "WindowsApps")
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// Ex) `Microsoft`
|
||||
if !components
|
||||
if components
|
||||
.next()
|
||||
.is_some_and(|component| component.as_os_str() == "Microsoft")
|
||||
.is_none_or(|component| component.as_os_str() != "Microsoft")
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user