1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-23 00:28:46 +02:00

Added filename to top of .rs files

This commit is contained in:
Robert Lugg
2018-02-21 22:09:53 -08:00
parent c4b3252845
commit 7d7a48b17d
48 changed files with 50 additions and 0 deletions

View File

@ -1,3 +1,4 @@
// primitive_types1.rs
// Fill in the rest of the line that has code missing!
// No hints, there's no tricks, just get used to typing these :)

View File

@ -1,3 +1,4 @@
// primitive_types2.rs
// Fill in the rest of the line that has code missing!
// No hints, there's no tricks, just get used to typing these :)

View File

@ -1,3 +1,4 @@
// primitive_types3.rs
// Create an array with at least 100 elements in it where the ??? is.
// Scroll down for hints!

View File

@ -1,3 +1,4 @@
// primitive_types4.rs
// Get a slice out of Array a where the ??? is so that the `if` statement
// returns true. Scroll down for hints!!

View File

@ -1,3 +1,4 @@
// primitive_types5.rs
// Destructure the `cat` tuple so that the println will work.
// Scroll down for hints!

View File

@ -1,3 +1,4 @@
// primitive_types6.rs
// Use a tuple index to access the second element of `numbers`.
// You can put this right into the `println!` where the ??? is.
// Scroll down for hints!