Skip to content

Commit 3145794

Browse files
committed
fix: add hints to generics1 and generics2 exercises
1 parent d9b69bd commit 3145794

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

exercises/generics/generics1.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// This shopping list program isn't compiling!
22
// Use your knowledge of generics to fix it.
33

4+
// Execute `rustlings hint generics1` for hints!
5+
46
// I AM NOT DONE
57

68
fn main() {

exercises/generics/generics2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// This powerful wrapper provides the ability to store a positive integer value.
22
// Rewrite it using generics so that it supports wrapping ANY type.
33

4+
// Execute `rustlings hint generics2` for hints!
5+
46
// I AM NOT DONE
57

68
struct Wrapper {

0 commit comments

Comments
 (0)