Skip to content

Commit 8923e42

Browse files
Use the now available implementation of IntoIterator for arrays
1 parent fa7545e commit 8923e42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler_builtins.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ macro builtin_functions($register:ident; $(fn $name:ident($($arg_name:ident: $ar
77

88
#[cfg(feature = "jit")]
99
pub(crate) fn $register(builder: &mut cranelift_jit::JITBuilder) {
10-
for &(name, val) in &[$((stringify!($name), $name as *const u8)),*] {
10+
for (name, val) in [$((stringify!($name), $name as *const u8)),*] {
1111
builder.symbol(name, val);
1212
}
1313
}

0 commit comments

Comments
 (0)