Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
0vercl0k committed Jun 12, 2024
1 parent 7a9aba8 commit cf0fc2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/symbolizer/examples/symbolize-dump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::io::{self, Write};
use std::path::PathBuf;

use anyhow::Result;
use clap::{Parser, Subcommand};
use clap::Parser;
use kdmp_parser::KernelDumpParser;
use symbolizer::{AddrSpace, Builder, Module};
use udmp_parser::UserDumpParser;
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ fn main() -> Result<()> {
// We need to parse the crash-dump to figure out where drivers / user-modules
// are loaded at, and to read enough information out of the PE to download PDB
// files ourselves.
let parser = KernelDumpParser::new(&crash_dump_path).context("failed to create dump parser")?;
let parser = KernelDumpParser::new(crash_dump_path).context("failed to create dump parser")?;

// Figure out what is the symbol path we should be using. We will use the one
// specified by the user, or will try to find one in the `_NT_SYMBOL_PATH`
Expand Down

0 comments on commit cf0fc2b

Please sign in to comment.