X-Git-Url: https://code.octet-stream.net/netwatcher/blobdiff_plain/91bdce994d6788c2c9a6b0488fd443615b1bcbe3..518e4dd38939e602cbfd19379d64b901cbcb96ce:/examples/watch.rs?ds=inline diff --git a/examples/watch.rs b/examples/watch.rs index 2f9539c..767fd19 100644 --- a/examples/watch.rs +++ b/examples/watch.rs @@ -5,8 +5,8 @@ fn main() { let handle = netwatcher::watch_interfaces(|update| { println!("Interface update!"); - println!("State: {:?}", update.interfaces); - println!("Diff: {:?}", update.diff); + println!("State: {:#?}", update.interfaces); + println!("Diff: {:#?}", update.diff); }); std::thread::sleep(Duration::from_secs(30));