summaryrefslogtreecommitdiff
path: root/exercises/generics
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/generics')
-rw-r--r--exercises/generics/generics1.rs2
-rw-r--r--exercises/generics/generics2.rs2
2 files changed, 4 insertions, 0 deletions
diff --git a/exercises/generics/generics1.rs b/exercises/generics/generics1.rs
index 967287e..f93e64a 100644
--- a/exercises/generics/generics1.rs
+++ b/exercises/generics/generics1.rs
@@ -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() {
diff --git a/exercises/generics/generics2.rs b/exercises/generics/generics2.rs
index 0cb59ad..1501529 100644
--- a/exercises/generics/generics2.rs
+++ b/exercises/generics/generics2.rs
@@ -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 {