diff options
| author | Jason Dusek <jason.dusek@gmail.com> | 2016-03-11 00:41:11 -0800 |
|---|---|---|
| committer | Jason Dusek <jason.dusek@gmail.com> | 2016-03-11 00:41:11 -0800 |
| commit | 867b5074aa2d01ba72a2de89865fb7a7aa25a76a (patch) | |
| tree | 6169da470a93736be353994eb8f737594dd505c3 /src/bin | |
| parent | 223df90c81d5e94796797067fe4176cd2e00a93c (diff) | |
Use braces, not parens, for macro def
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/rustfmt.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/rustfmt.rs b/src/bin/rustfmt.rs index ee5877e25ca..062c60e1065 100644 --- a/src/bin/rustfmt.rs +++ b/src/bin/rustfmt.rs @@ -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 { |
