mirror of
https://github.com/astral-sh/ruff
synced 2026-01-10 08:04:26 -05:00
Update Rust toolchain to 1.91 (#21179)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user