mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
add explicit .iter() for arrays so we still work with Rust 1.51
This commit is contained in:
parent
01d3455a16
commit
825322c730
1 changed files with 2 additions and 2 deletions
|
|
@ -21,10 +21,10 @@ where
|
|||
let mut source_file = std::fs::File::open(input)?;
|
||||
let mut dest_file = std::fs::File::create(output)?;
|
||||
source_file.read_to_end(&mut source)?;
|
||||
for b in LOADER_VERSION.to_le_bytes() {
|
||||
for &b in LOADER_VERSION.to_le_bytes().iter() {
|
||||
source.push(b);
|
||||
}
|
||||
for b in (source.len() as u32).to_le_bytes() {
|
||||
for &b in (source.len() as u32).to_le_bytes().iter() {
|
||||
source.push(b);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue