De-~[] Mem{Reader,Writer}
This commit is contained in:
parent
d0e60b72ee
commit
49a8081095
21 changed files with 66 additions and 65 deletions
|
|
@ -154,7 +154,7 @@ fn main() {
|
|||
|
||||
let rdr = if os::getenv("RUST_BENCH").is_some() {
|
||||
let foo = include_bin!("shootout-k-nucleotide.data");
|
||||
~MemReader::new(foo.to_owned()) as ~Reader
|
||||
~MemReader::new(Vec::from_slice(foo)) as ~Reader
|
||||
} else {
|
||||
~stdio::stdin() as ~Reader
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue