File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22// Time to implement some traits!
33//
44// Your task is to implement the trait
5- // `AppendBar' for the type `String' .
5+ // `AppendBar` for the type `String` .
66//
77// The trait AppendBar has only one function,
88// which appends "Bar" to any object
Original file line number Diff line number Diff line change 11// traits2.rs
22//
33// Your task is to implement the trait
4- // `AppendBar' for a vector of strings.
4+ // `AppendBar` for a vector of strings.
55//
66// To implement this trait, consider for
77// a moment what it means to 'append "Bar"'
Original file line number Diff line number Diff line change @@ -695,7 +695,7 @@ name = "traits2"
695695path = " exercises/traits/traits2.rs"
696696mode = " test"
697697hint = """
698- Notice how the trait takes ownership of 'self',and returns `Self' .
698+ Notice how the trait takes ownership of 'self',and returns `Self` .
699699Try mutating the incoming string vector. Have a look at the tests to see
700700what the result should look like!
701701
You can’t perform that action at this time.
0 commit comments