mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
chore(iterators2): Add exercise instructions
This commit is contained in:
parent
4cde86643e
commit
e3931718fb
|
@ -1,7 +1,7 @@
|
||||||
// iterators2.rs
|
// iterators2.rs
|
||||||
// In this module, you'll learn some of unique advantages that iterators can offer
|
// In this module, you'll learn some of unique advantages that iterators can offer
|
||||||
// Step 1. Complete the `capitalize_first` function to pass the first two cases
|
// Step 1. Complete the `capitalize_first` function to pass the first two cases
|
||||||
// Step 2. Apply the `capitalize_first` function to a vector of strings, ensuring that it
|
// Step 2. Apply the `capitalize_first` function to a vector of strings, ensuring that it returns a vector of strings as well
|
||||||
// Step 3. Apply the `capitalize_first` function again to a list, but try and ensure it returns a single string
|
// Step 3. Apply the `capitalize_first` function again to a list, but try and ensure it returns a single string
|
||||||
// As always, there are hints below!
|
// As always, there are hints below!
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue