mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-19 03:48:29 +00:00
Update Rust toolchain to 1.91 (#21179)
This commit is contained in:
parent
a151f9746d
commit
921f409ee8
17 changed files with 27 additions and 47 deletions
|
|
@ -24,7 +24,7 @@ impl From<String> for PythonPlatform {
|
|||
fn from(platform: String) -> Self {
|
||||
match platform.as_str() {
|
||||
"all" => PythonPlatform::All,
|
||||
_ => PythonPlatform::Identifier(platform.to_string()),
|
||||
_ => PythonPlatform::Identifier(platform.clone()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@
|
|||
//! have two live bindings of `x`: `x = 3` and `x = 4`.
|
||||
//!
|
||||
//! Another piece of information that the `UseDefMap` needs to provide are reachability constraints.
|
||||
//! See [`reachability_constraints.rs`] for more details, in particular how they apply to bindings.
|
||||
//! See `reachability_constraints.rs` for more details, in particular how they apply to bindings.
|
||||
//!
|
||||
//! The [`UseDefMapBuilder`] itself just exposes methods for taking a snapshot, resetting to a
|
||||
//! snapshot, and merging a snapshot into the current state. The logic using these methods lives in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue