Skip to content

Commit 26a28da

Browse files
committed
test: Fix broken benchmark test
1 parent 56a1ee8 commit 26a28da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/bench/shootout-k-nucleotide-pipes.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,18 +184,18 @@ fn main() {
184184
185185
if str::len(line) == 0u { loop; }
186186
187-
match (line[0], proc_mode) {
187+
match (line[0] as char, proc_mode) {
188188
189189
// start processing if this is the one
190-
('>' as u8, false) => {
190+
('>', false) => {
191191
match str::find_str_from(line, ~"THREE", 1u) {
192192
option::Some(_) => { proc_mode = true; }
193193
option::None => { }
194194
}
195195
}
196196

197197
// break our processing
198-
('>' as u8, true) => { break; }
198+
('>', true) => { break; }
199199

200200
// process the sequence for k-mers
201201
(_, true) => {

0 commit comments

Comments
 (0)