mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 14:02:22 -05:00
chore: tidied up unmatched backticks
This commit is contained in:
parent
a315f2fefb
commit
db53dbc126
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// traits2.rs
|
||||
//
|
||||
// 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
|
||||
// a moment what it means to 'append "Bar"'
|
||||
|
|
|
@ -695,7 +695,7 @@ name = "traits2"
|
|||
path = "exercises/traits/traits2.rs"
|
||||
mode = "test"
|
||||
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
|
||||
what the result should look like!
|
||||
|
||||
|
|
Loading…
Reference in a new issue