diff options
| author | tajo48 <55502906+tajo48@users.noreply.github.com> | 2023-06-15 00:46:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-15 00:46:45 +0200 |
| commit | e1704a2f1bd2e1c92e0741d656228fe6ccf36a35 (patch) | |
| tree | 6bbd1dd1ea127dd652e0fe64093c10a78734fdf5 /exercises/traits/traits1.rs | |
| parent | 1e02f194fdd1cb1ca99cf1d93d11455db8b1bce6 (diff) | |
| parent | 0282da6881c0708b5aaf6a01e731b88b61201f71 (diff) | |
Merge branch 'main' into main
Diffstat (limited to 'exercises/traits/traits1.rs')
| -rw-r--r-- | exercises/traits/traits1.rs | 12 |
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 |
