Skip to content

Commit 31e5e0e

Browse files
committed
Fix deprecated use of panic! macro
1 parent 94b09e2 commit 31e5e0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fn download_winpcap_sdk() {
3838
let mut pcaplib = match zip_archive.by_name(lib_path.as_str()) {
3939
Ok(pcaplib) => pcaplib,
4040
Err(err) => {
41-
panic!(err);
41+
panic!("{err}");
4242
}
4343
};
4444

0 commit comments

Comments
 (0)