mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-11 07:40:10 +00:00
xous-rs: Change into_iter to iter.
This commit is contained in:
parent
2331086755
commit
b265985f06
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ impl TryFrom<[usize; 7]> for ProcessInit {
|
|||
type Error = crate::Error;
|
||||
fn try_from(src: [usize; 7]) -> core::result::Result<ProcessInit, crate::Error> {
|
||||
let mut exploded = vec![];
|
||||
for word in src[0..4].into_iter() {
|
||||
for word in src[0..4].iter() {
|
||||
exploded.extend_from_slice(&(*word as u32).to_le_bytes());
|
||||
}
|
||||
let mut key = [0u8; 16];
|
||||
|
|
|
|||
Loading…
Reference in a new issue