Skip to content

Commit d7a93ff

Browse files
committed
Update asm-cleanup to petgraph 0.8
1 parent be35073 commit d7a93ff

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

compiler/base/asm-cleanup/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ edition = "2018"
66
[workspace]
77

88
[dependencies]
9-
petgraph = "0.7.0"
9+
petgraph = "0.8.1"
1010
regex = "1.0.0"
1111
rustc-demangle = "0.1.5"

compiler/base/asm-cleanup/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pub fn filter_asm(block: &str) -> String {
7575
let mut line_info = Vec::new();
7676
let mut labels = HashSet::new();
7777
let mut opcode_operands = HashSet::new();
78-
let mut label_graph = DiGraphMap::new();
78+
let mut label_graph: DiGraphMap<_, _> = Default::default();
7979

8080
// Note the type of data held on each line of the block
8181
for line in block.lines() {

ui/Cargo.lock

Lines changed: 12 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)