chore: fix clippy warnings and run rustfmt
This commit is contained in:
1 parent
fecd8bf33f
commit
3765e6b05d
21 files changed
+420
-369
No files matched your search
@@ -163,7 +163,7 @@ fn extract_chunks_with_parent(
|
||||
node: Node,
|
||||
code: &str,
|
||||
chunks: &mut Vec<(String, String, String)>,
|
||||
ext: &str,
|
||||
_ext: &str,
|
||||
parent_scope: Option<&str>,
|
||||
depth: usize,
|
||||
) {
|
||||
@@ -229,7 +229,7 @@ fn extract_chunks_with_parent(
|
||||
} else {
|
||||
let mut cursor = node.walk();
|
||||
for child in node.named_children(&mut cursor) {
|
||||
extract_chunks_with_parent(child, code, chunks, ext, current_scope, depth + 1);
|
||||
extract_chunks_with_parent(child, code, chunks, _ext, current_scope, depth + 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user