Upgrade minimum Rust version to 1.83 (#9815)

This reverts commit 6cc7a560f7 to reapply
#9511 since we've disabled ppc64le-musl per #9793
This commit is contained in:
Zanie Blue 2024-12-11 10:06:19 -06:00 committed by GitHub
parent f64da9b763
commit ae25c2f4db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 72 additions and 65 deletions

View file

@ -350,7 +350,7 @@ impl ScriptTag {
let mut lines = contents.lines();
// Ensure that the first line is exactly `# /// script`.
if !lines.next().is_some_and(|line| line == "# /// script") {
if lines.next().is_none_or(|line| line != "# /// script") {
return Ok(None);
}