Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,4 @@ docs/_build
rust/debug
rust/target
rust/flamegraph.svg
target

# UV
uv.lock
target
3 changes: 3 additions & 0 deletions rust/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "1.97.0"
components = ["rustfmt", "clippy"]
2 changes: 1 addition & 1 deletion rust/src/graph/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ impl GraphWrapper {
if self.is_module_squashed(&ancestor_module).unwrap_or(false) {
return Err(PyValueError::new_err(format!(
"Module is a descendant of squashed module {}.",
&ancestor_module,
ancestor_module,
)));
};
}
Expand Down
6 changes: 3 additions & 3 deletions rust/src/import_parsing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ impl<'a> StatementVisitor<'a> for Visitor<'a> {
format!(
"{}{}.{}",
".".repeat(import_from_stmt.level as usize),
&module.id,
&name.name.id
module.id,
name.name.id
)
}
None => {
format!(
"{}{}",
".".repeat(import_from_stmt.level as usize),
&name.name.id
name.name.id
)
}
};
Expand Down
Loading
Loading