From 2f004d568f0e744081e1f236aba34a9462cc90f9 Mon Sep 17 00:00:00 2001
From: anttib-5 <anttib-5@student.ltu.se>
Date: Thu, 7 Mar 2019 16:47:08 +0100
Subject: [PATCH] bare3_1

---
 examples/bare3.rs | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/examples/bare3.rs b/examples/bare3.rs
index a52a2f5..1121a5c 100644
--- a/examples/bare3.rs
+++ b/examples/bare3.rs
@@ -52,27 +52,36 @@ fn main() -> ! {
 //
 // 1. What is the output in the `openocd` (Adapter Output) console?
 //
-//    ** your answer here **
+//    bare3
+//    s = ABCD
+//    bs = [65, 66, 67, 68]
+//    iterate 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 **
+//    u8 array
 //
 //    What is the type of `c`?
 //
-//    ** your answer here **
+//    it is a pointer to a u8 element in an array
 //
 //    What is the type of `a`?
 //
-//    ** your answer here **
+//    u8 array
 //
 //    What is the type of `i`?
 //
-//    ** your answer here **
+//    i32
 //
 //    Commit your answers (bare3_1)
 //
-- 
GitLab