X-Git-Url: https://code.octet-stream.net/netwatcher/blobdiff_plain/d080463c3c86ac4729f5e0d99332b8f556811755..cc86d4310fa2b8af2675e82004facc1d90ef6922:/examples/watch.rs?ds=sidebyside 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));