mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-01 22:51:45 +02:00
docs: cleanup the explanation paragraphs at the start of each exercise.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
// strings1.rs
|
||||
//
|
||||
// Make me compile without changing the function signature!
|
||||
// Execute `rustlings hint strings1` or use the `hint` watch subcommand for a hint.
|
||||
//
|
||||
// Execute `rustlings hint strings1` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
// strings2.rs
|
||||
//
|
||||
// Make me compile without changing the function signature!
|
||||
// Execute `rustlings hint strings2` or use the `hint` watch subcommand for a hint.
|
||||
//
|
||||
// Execute `rustlings hint strings2` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
// strings3.rs
|
||||
// Execute `rustlings hint strings3` or use the `hint` watch subcommand for a hint.
|
||||
//
|
||||
// Execute `rustlings hint strings3` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
// strings4.rs
|
||||
|
||||
//
|
||||
// Ok, here are a bunch of values-- some are `String`s, some are `&str`s. 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`
|
||||
// before the parentheses on each line. If you're right, it will compile!
|
||||
//
|
||||
// No hints this time!
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
Reference in New Issue
Block a user