about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-05-13 11:26:15 -0700
committerPatrick Walton <pcwalton@mimiga.net>2013-05-13 11:26:15 -0700
commit26a28dac8652d0c2bad9f0beeed7e67fa7cec0ea (patch)
treec13e1fe216eb48370ec628868e070cc32016b63c /src
parent56a1ee8f84e4aa2b9a45fe3fa7425ae8c8e6649a (diff)
downloadrust-26a28dac8652d0c2bad9f0beeed7e67fa7cec0ea.tar.gz
rust-26a28dac8652d0c2bad9f0beeed7e67fa7cec0ea.zip
test: Fix broken benchmark test
Diffstat (limited to 'src')
-rw-r--r--src/test/bench/shootout-k-nucleotide-pipes.rs6
1 files 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) => {