mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-02 18:12:17 +00:00
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:
parent
b9b37a9bab
commit
cf20673197
31 changed files with 71 additions and 64 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