diff --git a/examples/udp-codec.rs b/examples/udp-codec.rs index fd6d98746..230c98ff3 100644 --- a/examples/udp-codec.rs +++ b/examples/udp-codec.rs @@ -108,7 +108,7 @@ fn main() { //Now we instruct `reactor::Core` to iterate, processing events until its future, `SelectAll` //has completed - if let Err(e) core.run(wait) { + if let Err(e) = core.run(wait) { error!("{}", e.0); } }