Skip to content

Commit

Permalink
fix: add hints to generics1 and generics2 exercises
Browse files Browse the repository at this point in the history
  • Loading branch information
juanprq committed May 11, 2021
1 parent d9b69bd commit 3145794
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 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

0 comments on commit 3145794

Please sign in to comment.