diff --git a/examples/syncat.rs b/examples/syncat.rs index cb6af2f5..f33f1312 100644 --- a/examples/syncat.rs +++ b/examples/syncat.rs @@ -39,7 +39,7 @@ fn main() { let matches = match opts.parse(&args[1..]) { Ok(m) => { m } - Err(f) => { panic!(f.to_string()) } + Err(f) => { panic!("{}", f.to_string()) } }; let no_newlines = matches.opt_present("no-newlines"); diff --git a/examples/syntest.rs b/examples/syntest.rs index aa4abc30..13e1d6ce 100644 --- a/examples/syntest.rs +++ b/examples/syntest.rs @@ -274,7 +274,7 @@ fn main() { let matches = match opts.parse(&args[1..]) { Ok(m) => { m } - Err(f) => { panic!(f.to_string()) } + Err(f) => { panic!("{}", f.to_string()) } }; let tests_path = if matches.free.len() < 1 {