Skip to content

Commit 164c635

Browse files
various style/efficiency fixes
1 parent 0994669 commit 164c635

6 files changed

Lines changed: 155 additions & 153 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ serde = { version = "1", features = ["derive"] }
1111
serde_json = "1"
1212
paste = "1.0.15"
1313
clap = { version = "4", features = ["derive"] }
14-
nohash-hasher = "0.2"
1514

1615
[dev-dependencies]
1716
criterion = { version = "0.5", default-features = false, features = ["cargo_bench_support"] }

src/bin/wagmi_inspect.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
198198
println!(" Globals: {}", module.globals.len());
199199
}
200200

201-
if module.start != u32::MAX {
202-
println!(" Start function: index {}", module.start);
201+
if let Some(start_idx) = module.start {
202+
println!(" Start function: index {}", start_idx);
203203
}
204204

205205
if module.n_data > 0 {

0 commit comments

Comments
 (0)