mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
doc: fix busted doctest, r=burningtree.
This commit is contained in:
+1
-1
@@ -2710,7 +2710,7 @@ trait Printable {
|
||||
}
|
||||
|
||||
impl ~str: Printable {
|
||||
fn to_str() -> ~str { self }
|
||||
fn to_str() -> ~str { copy self }
|
||||
}
|
||||
~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user