diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-12-07 14:40:56 -0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-12-07 14:40:56 -0800 |
| commit | bbc04dbb244d4789f4e76ddae9b48ea79e32dfb3 (patch) | |
| tree | b8545b99907ed53b20de5d905c09f8ef19d49046 | |
| parent | d78053ecb04f7bb1211d566dce72ba581c92ebf8 (diff) | |
| download | rust-bbc04dbb244d4789f4e76ddae9b48ea79e32dfb3.tar.gz rust-bbc04dbb244d4789f4e76ddae9b48ea79e32dfb3.zip | |
doc: fix busted doctest, r=burningtree.
| -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 } } ~~~~~~ |
