chore: tidied up unmatched backticks
This commit is contained in:
parent
a315f2fefb
commit
db53dbc126
@ -2,7 +2,7 @@
|
|||||||
// Time to implement some traits!
|
// Time to implement some traits!
|
||||||
//
|
//
|
||||||
// Your task is to implement the trait
|
// Your task is to implement the trait
|
||||||
// `AppendBar' for the type `String'.
|
// `AppendBar` for the type `String`.
|
||||||
//
|
//
|
||||||
// The trait AppendBar has only one function,
|
// The trait AppendBar has only one function,
|
||||||
// which appends "Bar" to any object
|
// which appends "Bar" to any object
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// traits2.rs
|
// traits2.rs
|
||||||
//
|
//
|
||||||
// Your task is to implement the trait
|
// Your task is to implement the trait
|
||||||
// `AppendBar' for a vector of strings.
|
// `AppendBar` for a vector of strings.
|
||||||
//
|
//
|
||||||
// To implement this trait, consider for
|
// To implement this trait, consider for
|
||||||
// a moment what it means to 'append "Bar"'
|
// a moment what it means to 'append "Bar"'
|
||||||
|
@ -695,7 +695,7 @@ name = "traits2"
|
|||||||
path = "exercises/traits/traits2.rs"
|
path = "exercises/traits/traits2.rs"
|
||||||
mode = "test"
|
mode = "test"
|
||||||
hint = """
|
hint = """
|
||||||
Notice how the trait takes ownership of 'self',and returns `Self'.
|
Notice how the trait takes ownership of 'self',and returns `Self`.
|
||||||
Try mutating the incoming string vector. Have a look at the tests to see
|
Try mutating the incoming string vector. Have a look at the tests to see
|
||||||
what the result should look like!
|
what the result should look like!
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user