From 26a28dac8652d0c2bad9f0beeed7e67fa7cec0ea Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 13 May 2013 11:26:15 -0700 Subject: [PATCH] test: Fix broken benchmark test --- src/test/bench/shootout-k-nucleotide-pipes.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/bench/shootout-k-nucleotide-pipes.rs b/src/test/bench/shootout-k-nucleotide-pipes.rs index 210bf5cb6de..fa6b7066e40 100644 --- a/src/test/bench/shootout-k-nucleotide-pipes.rs +++ b/src/test/bench/shootout-k-nucleotide-pipes.rs @@ -184,10 +184,10 @@ fn main() { if str::len(line) == 0u { loop; } - match (line[0], proc_mode) { + match (line[0] as char, proc_mode) { // start processing if this is the one - ('>' as u8, false) => { + ('>', false) => { match str::find_str_from(line, ~"THREE", 1u) { option::Some(_) => { proc_mode = true; } option::None => { } @@ -195,7 +195,7 @@ fn main() { } // break our processing - ('>' as u8, true) => { break; } + ('>', true) => { break; } // process the sequence for k-mers (_, true) => {