chore: tidied up unmatched backticks

This commit is contained in:
TK Buristrakul 2022-11-24 19:41:25 +00:00
parent a315f2fefb
commit db53dbc126
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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"'

View file

@ -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!