mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-24 13:43:45 +00:00
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:
parent
f64da9b763
commit
ae25c2f4db
31 changed files with 72 additions and 65 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue