diff options
Diffstat (limited to 'examples/fullmesh.rs')
-rw-r--r-- | examples/fullmesh.rs | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/examples/fullmesh.rs b/examples/fullmesh.rs index dfacb89..5addcea 100644 --- a/examples/fullmesh.rs +++ b/examples/fullmesh.rs @@ -1,5 +1,5 @@ -use std::net::SocketAddr; use std::io::Write; +use std::net::SocketAddr; use log::info; @@ -32,13 +32,14 @@ async fn main() { env_logger::Builder::new() .parse_env("RUST_LOG") .format(|buf, record| { - writeln!(buf, - "{} {} {} {}", - chrono::Local::now().format("%s%.6f"), - record.module_path().unwrap_or("_"), - record.level(), - record.args() - ) + writeln!( + buf, + "{} {} {} {}", + chrono::Local::now().format("%s%.6f"), + record.module_path().unwrap_or("_"), + record.level(), + record.args() + ) }) .init(); |