From 86421ffa85b84b617772126c2695ab65a74b6346 Mon Sep 17 00:00:00 2001 From: grammers <samkar-4@student.ltu.se> Date: Wed, 14 Feb 2018 15:23:14 +0000 Subject: [PATCH] bare3> tack 1 --- examples/bare3.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/examples/bare3.rs b/examples/bare3.rs index 272d9fb..f3bdf08 100644 --- a/examples/bare3.rs +++ b/examples/bare3.rs @@ -49,21 +49,34 @@ fn main() { // // what is the output in the ITM console // ** your answer here ** +// s = ABCD +// bs = [65, 66 ,67, 68] +// iteratie over slice +// 65,66,67,68 +// iterate iterate using (raw) indexing +// 65,66,67,68 +// a = AAAA // // what is the type of `s` // ** your answer here ** +// String // // what is the type of `bs` // ** your answer here ** +// aray u8 // // what is the type of `c` // ** your answer here ** +// u8 // // what is the type of `a` // ** your answer here ** +// array u8 +// contains [65,65,65,65] // // what is the type of `i` // ** your answer here ** +// usize // // commit your answers (bare3_1) // -- GitLab