mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 22:01:47 +00:00
chore: Upgrade Rust to 1.67.0 (#3125)
This commit is contained in:
parent
ed33b75bad
commit
ffd8e958fc
7 changed files with 7 additions and 8 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue