1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-15 00:04:58 +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 @@
// strings1.rs
// Make me compile without changing the function signature! Scroll down for hints :)
fn main() {

View File

@ -1,3 +1,4 @@
// strings2.rs
// Make me compile without changing the function signature! Scroll down for hints :)
fn main() {

View File

@ -1,3 +1,4 @@
// strings3.rs
// Ok, here are a bunch of values-- some are `Strings`, some are `&strs`. Your
// task is to call one of these two functions on each value depending on what
// you think each value is. That is, add either `string_slice` or `string`