finish purging x! from parity, remove x! and xx! macros

This commit is contained in:
Robert Habermeier
2016-05-31 17:25:25 +02:00
parent 3abaeadcf3
commit c62bfcddef
5 changed files with 9 additions and 23 deletions

View File

@@ -68,20 +68,6 @@ macro_rules! mapx {
}}
}
#[macro_export]
macro_rules! x {
( $x:expr ) => {
From::from($x)
}
}
#[macro_export]
macro_rules! xx {
( $x:expr ) => {
From::from(From::from($x))
}
}
#[macro_export]
macro_rules! flush {
($($arg:tt)*) => ($crate::flush(format!("{}", format_args!($($arg)*))));