Skip to content

Commit

Permalink
Fix clippy violation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnross committed Sep 24, 2023
1 parent 8037dee commit e19ff23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo-espflash/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ pub fn erase_parts(args: ErasePartsArgs, config: &Config) -> Result<()> {

let mut flash = connect(&args.connect_args, config)?;
let partition_table = match partition_table {
Some(path) => Some(parse_partition_table(&path)?),
Some(path) => Some(parse_partition_table(path)?),
None => None,
};

Expand Down

0 comments on commit e19ff23

Please sign in to comment.