mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 15:14:19 -05:00
chore: Upgrade Rust to 1.67.0 (#3125)
This commit is contained in:
@@ -103,7 +103,7 @@ mod tests {
|
||||
|
||||
let snapshot_path = Path::new(&workspace_path)
|
||||
.join("src/snapshots")
|
||||
.join(&format!(
|
||||
.join(format!(
|
||||
"{module_path}__{}.snap",
|
||||
snapshot_name.replace(&['/', '\\'][..], "__")
|
||||
));
|
||||
|
||||
@@ -757,7 +757,7 @@ pub struct TriviaIndex {
|
||||
pub withitem: FxHashMap<usize, Vec<Trivia>>,
|
||||
}
|
||||
|
||||
fn add_comment<'a>(comment: Trivia, node: &Node<'a>, trivia: &mut TriviaIndex) {
|
||||
fn add_comment(comment: Trivia, node: &Node, trivia: &mut TriviaIndex) {
|
||||
match node {
|
||||
Node::Mod(_) => {}
|
||||
Node::Stmt(node) => {
|
||||
|
||||
Reference in New Issue
Block a user