Same change as println for eprintln
This commit is contained in:
committed by
Esteban Küber
parent
fbce952193
commit
e613bfb701
@@ -211,8 +211,7 @@ macro_rules! eprint {
|
|||||||
#[stable(feature = "eprint", since = "1.19.0")]
|
#[stable(feature = "eprint", since = "1.19.0")]
|
||||||
macro_rules! eprintln {
|
macro_rules! eprintln {
|
||||||
() => (eprint!("\n"));
|
() => (eprint!("\n"));
|
||||||
($fmt:expr) => (eprint!(concat!($fmt, "\n")));
|
($($arg:tt)*) => (eprint!("{}\n", format_args!($($arg)*)));
|
||||||
($fmt:expr, $($arg:tt)*) => (eprint!(concat!($fmt, "\n"), $($arg)*));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
|
|||||||
Reference in New Issue
Block a user