Use braces, not parens, for macro def

This commit is contained in:
Jason Dusek 2016-03-11 00:41:11 -08:00
parent 223df90c81
commit 867b5074aa

View File

@ -28,14 +28,14 @@ use std::str::FromStr;
use getopts::{Matches, Options};
macro_rules! msg(
macro_rules! msg {
($($arg:tt)*) => (
match writeln!(&mut ::std::io::stderr(), $($arg)* ) {
Ok(_) => {},
Err(x) => panic!("Unable to write to stderr: {}", x),
}
)
);
}
/// Rustfmt operations.
enum Operation {