Skip to content

Commit

Permalink
Use the now available implementation of IntoIterator for arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSeulArtichaut committed Jun 14, 2021
1 parent fa7545e commit 8923e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler_builtins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ macro builtin_functions($register:ident; $(fn $name:ident($($arg_name:ident: $ar

#[cfg(feature = "jit")]
pub(crate) fn $register(builder: &mut cranelift_jit::JITBuilder) {
for &(name, val) in &[$((stringify!($name), $name as *const u8)),*] {
for (name, val) in [$((stringify!($name), $name as *const u8)),*] {
builder.symbol(name, val);
}
}
Expand Down

0 comments on commit 8923e42

Please sign in to comment.