Skip to content

Commit 74d60a6

Browse files
dgryskicatamorphism
authored andcommitted
shootout-mandelbrot: devnull writer needs get_type impl
1 parent ffb0676 commit 74d60a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/bench/shootout-mandelbrot.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ impl of io::writer for devnull {
8888
fn seek(_i: int, _s: io::seek_style) {}
8989
fn tell() -> uint {0_u}
9090
fn flush() -> int {0}
91+
fn get_type() -> io::writer_type { io::file }
9192
}
9293

9394
fn writer(path: ~str, writech: comm::chan<comm::chan<line>>, size: uint)

0 commit comments

Comments
 (0)