File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2704,15 +2704,15 @@ The special type `self` has a meaning within methods inside an
2704
2704
impl item. It refers to the type of the implicit ` self ` argument. For
2705
2705
example, in:
2706
2706
2707
- ~~~~~~
2707
+ ~~~~~~~~ {.xfail-test}
2708
2708
trait Printable {
2709
2709
fn to_str() -> ~str;
2710
2710
}
2711
2711
2712
2712
impl ~str: Printable {
2713
2713
fn to_str() -> ~str { copy self }
2714
2714
}
2715
- ~~~~~~
2715
+ ~~~~~~~~
2716
2716
2717
2717
` self ` refers to the value of type ` ~str ` that is the receiver for a
2718
2718
call to the method ` to_str ` .
Original file line number Diff line number Diff line change
1
+ // xfail-test
1
2
// based on:
2
3
// http://shootout.alioth.debian.org/u32/benchmark.php?test=nbody&lang=java
3
4
Original file line number Diff line number Diff line change
1
+ // xfail-test
1
2
extern mod std;
2
3
use io:: WriterUtil ;
3
4
use std:: tempfile;
You can’t perform that action at this time.
0 commit comments