Fix typo in cfg

This commit is contained in:
Amanieu d'Antras 2023-05-26 15:09:04 +02:00
parent 87c70444d6
commit 7586d9dcd1

View file

@ -2363,8 +2363,8 @@ mod sealed {
($fun:ident ($a:ident) -> $r:ident [$little:ident, $big:ident]) => {
#[inline]
#[target_feature(enable = "altivec")]
#[cfg_attr(all(test, target_endiant = "little"), assert_instr($little))]
#[cfg_attr(all(test, target_endiant = "big"), assert_instr($big))]
#[cfg_attr(all(test, target_endian = "little"), assert_instr($little))]
#[cfg_attr(all(test, target_endian = "big"), assert_instr($big))]
unsafe fn $fun(a: $a) -> $r {
if cfg!(target_endian = "little") {
$little(a)