summaryrefslogtreecommitdiff
path: root/exercises/traits/traits1.rs
diff options
context:
space:
mode:
authorEmmanuel Roullit <eroullit@github.com>2023-02-25 17:11:43 +0100
committerGitHub <noreply@github.com>2023-02-25 17:11:43 +0100
commitfcadbfc70d578e4a993711d5a7f1737aebd6b3ce (patch)
tree897142c1904755a43aefce56695c0b8186381e69 /exercises/traits/traits1.rs
parentb653d4848a52701d2240f130ab74c158dd5d7069 (diff)
parent701b4bef51b50d1fd3bb7fbfe3cc274f2bbdcb0c (diff)
Merge branch 'rust-lang:main' into codespaces
Diffstat (limited to 'exercises/traits/traits1.rs')
-rw-r--r--exercises/traits/traits1.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/traits/traits1.rs b/exercises/traits/traits1.rs
index 5b9d8d5..f5320a5 100644
--- a/exercises/traits/traits1.rs
+++ b/exercises/traits/traits1.rs
@@ -2,7 +2,7 @@
// Time to implement some traits!
//
// Your task is to implement the trait
-// `AppendBar' for the type `String'.
+// `AppendBar` for the type `String`.
//
// The trait AppendBar has only one function,
// which appends "Bar" to any object
@@ -16,7 +16,7 @@ trait AppendBar {
}
impl AppendBar for String {
- //Add your code here
+ // TODO: Implement `AppendBar` for type `String`.
}
fn main() {