Skip to content

Commit 61af100

Browse files
tedhorstcatamorphism
authored andcommitted
---
yaml --- r: 39659 b: refs/heads/incoming c: af48f30 h: refs/heads/master i: 39657: 06e68cb 39655: 21f0a79 v: v3
1 parent ca81908 commit 61af100

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
@@ -6,7 +6,7 @@ refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
9-
refs/heads/incoming: 7c79b5e434b93f07fda1853e06abafb3758b151f
9+
refs/heads/incoming: af48f305421ae40bdcc8df7af168f8cfefc9bb86
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/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)