Skip to content
Snippets Groups Projects
Commit b7b7d5f2 authored by Samuel Karlsson's avatar Samuel Karlsson
Browse files

bare3: tack 4

parent cdbdb395
No related branches found
No related tags found
No related merge requests found
No preview for this file type
...@@ -25,8 +25,12 @@ fn main() { ...@@ -25,8 +25,12 @@ fn main() {
ip!("{},", c); ip!("{},", c);
} }
let mut a: [u8; 4] = [65; 4];
let mut a = [0u8; 4]; let mut a = [0u8; 4];
for x in 0..bs.len(){
a[x] = bs[x];
}
ipln!(); ipln!();
ipln!("iterate iterate using (raw) indexing"); ipln!("iterate iterate using (raw) indexing");
let i: usize; let i: usize;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment