mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Use braces, not parens, for macro def
This commit is contained in:
+2
-2
@@ -28,14 +28,14 @@
|
||||
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user