From ae487b07ab5472051f830bc0ed9b4ca165145027 Mon Sep 17 00:00:00 2001
From: Grumme2 <agh@live.se>
Date: Wed, 15 Apr 2020 15:58:45 +0200
Subject: [PATCH] bare3_2

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

diff --git a/examples/bare3.rs b/examples/bare3.rs
index 665b4da..5915583 100644
--- a/examples/bare3.rs
+++ b/examples/bare3.rs
@@ -55,27 +55,40 @@ fn main() -> ! {
 // 1. What is the output in the `openocd` (Adapter Output) console?
 //
 //    ** your answer here **
-//
+//      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 **
-//
+//      &str
+// 
 //    What is the type of `bs`?
 //
 //    ** your answer here **
-//
+//      &[u8]
+
 //    What is the type of `c`?
-//
 //    ** your answer here **
+//      &u8
 //
 //    What is the type of `a`?
-//
+//      
 //    ** your answer here **
-//
+//      array [u8;4]
+// 
 //    What is the type of `i`?
 //
 //    ** your answer here **
-//
+//      usize
 //    Commit your answers (bare3_1)
 //
 // 2. Make types of `s`, `bs`, `c`, `a`, `i` explicit.
-- 
GitLab