mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-11-25 22:31:48 +02:00
@@ -763,7 +763,7 @@ hint = """
|
||||
Notice how the trait takes ownership of `self` and returns `Self`.
|
||||
|
||||
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."""
|
||||
|
||||
[[exercises]]
|
||||
|
||||
Reference in New Issue
Block a user