@@ -60,9 +60,9 @@ macro_rules! panic {
6060#[ cfg_attr( not( test) , rustc_diagnostic_item = "print_macro" ) ]
6161#[ allow_internal_unstable( print_internals) ]
6262macro_rules! print {
63- ( $( $arg: tt) * ) => {
64- $crate:: io:: _print( $crate:: format_args!( $( $arg) * ) )
65- } ;
63+ ( $( $arg: tt) * ) => { {
64+ $crate:: io:: _print( $crate:: format_args!( $( $arg) * ) ) ;
65+ } } ;
6666}
6767
6868/// Prints to the standard output, with a newline.
@@ -99,9 +99,9 @@ macro_rules! println {
9999 ( ) => {
100100 $crate:: print!( "\n " )
101101 } ;
102- ( $( $arg: tt) * ) => {
103- $crate:: io:: _print( $crate:: format_args_nl!( $( $arg) * ) )
104- } ;
102+ ( $( $arg: tt) * ) => { {
103+ $crate:: io:: _print( $crate:: format_args_nl!( $( $arg) * ) ) ;
104+ } } ;
105105}
106106
107107/// Prints to the standard error.
@@ -130,9 +130,9 @@ macro_rules! println {
130130#[ cfg_attr( not( test) , rustc_diagnostic_item = "eprint_macro" ) ]
131131#[ allow_internal_unstable( print_internals) ]
132132macro_rules! eprint {
133- ( $( $arg: tt) * ) => {
134- $crate:: io:: _eprint( $crate:: format_args!( $( $arg) * ) )
135- } ;
133+ ( $( $arg: tt) * ) => { {
134+ $crate:: io:: _eprint( $crate:: format_args!( $( $arg) * ) ) ;
135+ } } ;
136136}
137137
138138/// Prints to the standard error, with a newline.
@@ -164,9 +164,9 @@ macro_rules! eprintln {
164164 ( ) => {
165165 $crate:: eprint!( "\n " )
166166 } ;
167- ( $( $arg: tt) * ) => {
168- $crate:: io:: _eprint( $crate:: format_args_nl!( $( $arg) * ) )
169- } ;
167+ ( $( $arg: tt) * ) => { {
168+ $crate:: io:: _eprint( $crate:: format_args_nl!( $( $arg) * ) ) ;
169+ } } ;
170170}
171171
172172/// Prints and returns the value of a given expression for quick and dirty
0 commit comments