Skip to content

Commit

Permalink
Fix compiler warning when running cargo test (rust-bio#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
fxwiegand authored May 27, 2021
1 parent 9f1452b commit e1ba769
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/data_structures/suffix_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -805,15 +805,13 @@ mod tests {

assert!(
cur <= next,
format!(
"Failed:\n{}\n{}\nat positions {} and {} are out of order in \
"Failed:\n{}\n{}\nat positions {} and {} are out of order in \
test: {}",
cur,
next,
pos[i],
pos[i + 1],
test_name
)
cur,
next,
pos[i],
pos[i + 1],
test_name
);
}
}
Expand Down

0 comments on commit e1ba769

Please sign in to comment.