mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-05-23 22:40:20 +02:00
Fix typo in traits hint
This commit is contained in:
parent
8b4562e102
commit
bd3bdd620b
@ -763,7 +763,7 @@ hint = """
|
|||||||
Notice how the trait takes ownership of `self` and returns `Self`.
|
Notice how the trait takes ownership of `self` and returns `Self`.
|
||||||
|
|
||||||
Although the signature of `append_bar` in the trait takes `self` as argument,
|
Although the signature of `append_bar` in the trait takes `self` as argument,
|
||||||
the implementation can take `mut self` instead. This is possible because the
|
the implementation can take `mut self` instead. This is possible because
|
||||||
the value is owned anyway."""
|
the value is owned anyway."""
|
||||||
|
|
||||||
[[exercises]]
|
[[exercises]]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user