Skip to content

Commit 5603b0f

Browse files
tedhorstcatamorphism
authored andcommitted
---
yaml --- r: 34382 b: refs/heads/snap-stage3 c: af48f30 h: refs/heads/master v: v3
1 parent b368b53 commit 5603b0f

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,7 +1,7 @@
11
---
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 7c79b5e434b93f07fda1853e06abafb3758b151f
4+
refs/heads/snap-stage3: af48f305421ae40bdcc8df7af168f8cfefc9bb86
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/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)