1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-07-13 01:20:42 +02:00

Merge pull request #2232 from ethdew19/main

Fix typo in traits hint
This commit is contained in:
Mo Bitar
2025-04-29 21:34:47 +02:00
committed by GitHub

View File

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