Skip to content

Commit 6f34905

Browse files
committed
Fix typo in cfg
1 parent 277a0b5 commit 6f34905

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/core_arch/src/powerpc/altivec.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2363,8 +2363,8 @@ mod sealed {
23632363
($fun:ident ($a:ident) -> $r:ident [$little:ident, $big:ident]) => {
23642364
#[inline]
23652365
#[target_feature(enable = "altivec")]
2366-
#[cfg_attr(all(test, target_endiant = "little"), assert_instr($little))]
2367-
#[cfg_attr(all(test, target_endiant = "big"), assert_instr($big))]
2366+
#[cfg_attr(all(test, target_endian = "little"), assert_instr($little))]
2367+
#[cfg_attr(all(test, target_endian = "big"), assert_instr($big))]
23682368
unsafe fn $fun(a: $a) -> $r {
23692369
if cfg!(target_endian = "little") {
23702370
$little(a)

0 commit comments

Comments
 (0)