Skip to content

Commit

Permalink
Fix deprecated use of panic! macro
Browse files Browse the repository at this point in the history
  • Loading branch information
cyqsimon committed Aug 25, 2023
1 parent 94b09e2 commit 31e5e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fn download_winpcap_sdk() {
let mut pcaplib = match zip_archive.by_name(lib_path.as_str()) {
Ok(pcaplib) => pcaplib,
Err(err) => {
panic!(err);
panic!("{err}");
}
};

Expand Down

0 comments on commit 31e5e0e

Please sign in to comment.