Skip to content

Commit f17f7ca

Browse files
tedhorstcatamorphism
authored andcommitted
---
yaml --- r: 41548 b: refs/heads/master c: af48f30 h: refs/heads/master v: v3
1 parent f61b242 commit f17f7ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 7c79b5e434b93f07fda1853e06abafb3758b151f
2+
refs/heads/master: af48f305421ae40bdcc8df7af168f8cfefc9bb86
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
55
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650

trunk/src/test/bench/shootout-mandelbrot.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ fn chanmb(i: uint, size: uint) -> Line
9696
Line {i:i, b:crv}
9797
}
9898

99-
type devnull = {dn: int};
99+
struct Devnull();
100100

101-
impl devnull: io::Writer {
101+
impl Devnull: io::Writer {
102102
fn write(&self, _b: &[const u8]) {}
103103
fn seek(&self, _i: int, _s: io::SeekStyle) {}
104104
fn tell(&self) -> uint {0_u}
@@ -110,7 +110,7 @@ fn writer(path: ~str, pport: pipes::Port<Line>, size: uint)
110110
{
111111
let cout: io::Writer = match path {
112112
~"" => {
113-
{dn: 0} as io::Writer
113+
Devnull as io::Writer
114114
}
115115
~"-" => {
116116
io::stdout()

0 commit comments

Comments
 (0)