bump MSRV to 1.83 (#16294)

According to our new MSRV policy (see
https://github.com/astral-sh/ruff/issues/16370 ), bump our MSRV to 1.83
(N - 2), and autofix some new clippy lints.
This commit is contained in:
Carl Meyer 2025-02-26 06:12:43 -08:00 committed by GitHub
parent bf2c9a41cd
commit dd6f6233bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 85 additions and 93 deletions

View file

@ -55,7 +55,7 @@ impl ImplicitImports {
// Always prefer stub files over non-stub files.
if submodules
.get(name)
.map_or(true, |implicit_import| !implicit_import.is_stub_file)
.is_none_or(|implicit_import| !implicit_import.is_stub_file)
{
submodules.insert(
name.to_string(),