diff options
| -rw-r--r-- | doc/rust.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/rust.md b/doc/rust.md index 99afbccc743..8c39fab28e7 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -2710,7 +2710,7 @@ trait Printable { } impl ~str: Printable { - fn to_str() -> ~str { self } + fn to_str() -> ~str { copy self } } ~~~~~~ |
