shootout-mandelbrot: devnull writer needs get_type impl
This commit is contained in:
parent
ffb067640b
commit
74d60a619a
1 changed files with 1 additions and 0 deletions
|
|
@ -88,6 +88,7 @@ impl of io::writer for devnull {
|
|||
fn seek(_i: int, _s: io::seek_style) {}
|
||||
fn tell() -> uint {0_u}
|
||||
fn flush() -> int {0}
|
||||
fn get_type() -> io::writer_type { io::file }
|
||||
}
|
||||
|
||||
fn writer(path: ~str, writech: comm::chan<comm::chan<line>>, size: uint)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue