Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rtfm-app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Samuel Karlsson
rtfm-app
Commits
86421ffa
Commit
86421ffa
authored
7 years ago
by
Samuel Karlsson
Browse files
Options
Downloads
Patches
Plain Diff
bare3> tack 1
parent
9dcb91d8
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/bare3.rs
+13
-0
13 additions, 0 deletions
examples/bare3.rs
with
13 additions
and
0 deletions
examples/bare3.rs
+
13
−
0
View file @
86421ffa
...
...
@@ -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)
//
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment