summaryrefslogtreecommitdiff
path: root/exercises/traits/traits1.rs
diff options
context:
space:
mode:
authorRobert Fry <inbox@robertfry.xyz>2023-05-29 18:39:08 +0100
committerRobert Fry <inbox@robertfry.xyz>2023-05-29 18:41:51 +0100
commit7eef5d15eef780f93e22b1b4e0185f7708219ea0 (patch)
tree6c1f97594a23ba1eb870435ba1e81a652241db04 /exercises/traits/traits1.rs
parent30291a3c253f08a4191cfd544ba36867612ebb7a (diff)
docs: cleanup the explanation paragraphs at the start of each exercise.
Diffstat (limited to 'exercises/traits/traits1.rs')
-rw-r--r--exercises/traits/traits1.rs12
1 files changed, 5 insertions, 7 deletions
diff --git a/exercises/traits/traits1.rs b/exercises/traits/traits1.rs
index f5320a5..37dfcbf 100644
--- a/exercises/traits/traits1.rs
+++ b/exercises/traits/traits1.rs
@@ -1,13 +1,11 @@
// traits1.rs
-// Time to implement some traits!
//
-// Your task is to implement the trait
-// `AppendBar` for the type `String`.
+// Time to implement some traits! Your task is to implement the trait
+// `AppendBar` for the type `String`. The trait AppendBar has only one function,
+// which appends "Bar" to any object implementing this trait.
//
-// The trait AppendBar has only one function,
-// which appends "Bar" to any object
-// implementing this trait.
-// Execute `rustlings hint traits1` or use the `hint` watch subcommand for a hint.
+// Execute `rustlings hint traits1` or use the `hint` watch subcommand for a
+// hint.
// I AM NOT DONE