mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2025-12-23 22:29:01 -05:00
fix build error
This commit is contained in:
@@ -14,9 +14,8 @@ fn log_err(self, location: Location) -> Result<T, E> {
|
|||||||
let line = location.line;
|
let line = location.line;
|
||||||
eprintln!("Sniffnet error at [{file}:{line}]: {e}");
|
eprintln!("Sniffnet error at [{file}:{line}]: {e}");
|
||||||
// in debug mode, panic on error
|
// in debug mode, panic on error
|
||||||
const {
|
#[cfg(debug_assertions)]
|
||||||
assert!(!cfg!(debug_assertions));
|
panic!();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
self
|
self
|
||||||
|
|||||||
Reference in New Issue
Block a user