Use braces, not parens, for macro def
This commit is contained in:
parent
223df90c81
commit
867b5074aa
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue