Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix all non_fmt_panic compilation warnings #341

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/syncat.rs
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion examples/syntest.rs
Expand Up @@ -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 {
Expand Down