From afe5c717a981eb593469d6294e5a64c201ba3091 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 24 Jun 2017 21:51:34 -0700 Subject: [PATCH] Address review comments --- src/macros.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/macros.rs b/src/macros.rs index 188508f..f6d7db7 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -3,8 +3,8 @@ /// The "main macro" used for defining intrinsics. /// /// The compiler-builtins library is super platform-specific with tons of crazy -/// little tweaks for various platforms. As a result it *could* involve a lot fo -/// #[cfg] and macro soup, but the intention is that this macro alleviates a lof +/// little tweaks for various platforms. As a result it *could* involve a lot of +/// #[cfg] and macro soup, but the intention is that this macro alleviates a lot /// of that complexity. Ideally this macro has all the weird ABI things /// platforms need and elsewhere in this library it just looks like normal Rust /// code. @@ -220,10 +220,6 @@ macro_rules! intrinsics { pub extern "aapcs" fn $alias( $($argname: $ty),* ) -> $ret { super::$name($($argname),*) } - - pub extern $abi fn $name( $($argname: $ty),* ) -> $ret { - super::$name($($argname),*) - } } }