Skip to content

Commit

Permalink
Merge pull request #751 from juanprq/main
Browse files Browse the repository at this point in the history
fix: remove trailing whitespace
  • Loading branch information
shadows-withal authored May 13, 2021
2 parents 7cd635f + 4d4fa77 commit dbb2624
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions exercises/generics/generics1.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// This shopping list program isn't compiling!
// Use your knowledge of generics to fix it.

// Execute `rustlings hint generics1` for hints!

// I AM NOT DONE

fn main() {
Expand Down
2 changes: 2 additions & 0 deletions exercises/generics/generics2.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// This powerful wrapper provides the ability to store a positive integer value.
// Rewrite it using generics so that it supports wrapping ANY type.

// Execute `rustlings hint generics2` for hints!

// I AM NOT DONE

struct Wrapper {
Expand Down
6 changes: 3 additions & 3 deletions exercises/standard_library_types/iterators1.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// iterators1.rs
//
//
// Make me compile by filling in the `???`s
//
// When performing operations on elements within a collection, iterators are essential.
// This module helps you get familiar with the structure of using an iterator and
// This module helps you get familiar with the structure of using an iterator and
// how to go through elements within an iterable collection.
//
//
// Execute `rustlings hint iterators1` for hints :D

// I AM NOT DONE
Expand Down
2 changes: 1 addition & 1 deletion exercises/structs/structs3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl Package {
}

fn get_fees(&self, cents_per_gram: i32) -> ??? {
// Something goes here...
// Something goes here...
}
}

Expand Down

0 comments on commit dbb2624

Please sign in to comment.