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 2
2
// Time to implement some traits!
3
3
//
4
4
// Your task is to implement the trait
5
- // `AppendBar' for the type `String' .
5
+ // `AppendBar` for the type `String` .
6
6
//
7
7
// The trait AppendBar has only one function,
8
8
// which appends "Bar" to any object
Original file line number Diff line number Diff line change 1
1
// traits2.rs
2
2
//
3
3
// Your task is to implement the trait
4
- // `AppendBar' for a vector of strings.
4
+ // `AppendBar` for a vector of strings.
5
5
//
6
6
// To implement this trait, consider for
7
7
// a moment what it means to 'append "Bar"'
Original file line number Diff line number Diff line change @@ -695,7 +695,7 @@ name = "traits2"
695
695
path = " exercises/traits/traits2.rs"
696
696
mode = " test"
697
697
hint = """
698
- Notice how the trait takes ownership of 'self',and returns `Self' .
698
+ Notice how the trait takes ownership of 'self',and returns `Self` .
699
699
Try mutating the incoming string vector. Have a look at the tests to see
700
700
what the result should look like!
701
701
You can’t perform that action at this time.
0 commit comments