mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 14:43:24 +00:00
doc: fix busted doctest, r=burningtree.
This commit is contained in:
parent
d78053ecb0
commit
bbc04dbb24
@ -2710,7 +2710,7 @@ trait Printable {
|
||||
}
|
||||
|
||||
impl ~str: Printable {
|
||||
fn to_str() -> ~str { self }
|
||||
fn to_str() -> ~str { copy self }
|
||||
}
|
||||
~~~~~~
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user