Skip to content

Commit dafb830

Browse files
committed
style(clippy): resolve clippy warnings
1 parent 83341d7 commit dafb830

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rattan-core/src/core.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ where
363363
#[cfg(feature = "packet-dump")]
364364
if let Ok(path) = std::env::var("PACKET_DUMP_FILE") {
365365
let mut file_out = File::create(&path)
366-
.unwrap_or_else(|_| panic!("Error creating packet dump file {}", &path));
366+
.unwrap_or_else(|_| panic!("Error creating packet dump file {}", path));
367367
file_out
368368
.write_all(self.pcap_writer.lock().unwrap().get_mut())
369369
.unwrap();

0 commit comments

Comments
 (0)