Skip to content

Commit 6b09eb8

Browse files
committed
Test fixes and rebase conflicts
1 parent fe3ab21 commit 6b09eb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/bench/shootout-fasta-redux.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static HOMO_SAPIENS: [AminoAcid;4] = [
9090
fn sum_and_scale(a: &'static [AminoAcid]) -> Vec<AminoAcid> {
9191
let mut p = 0f32;
9292
let mut result: Vec<AminoAcid> = a.iter().map(|a_i| {
93-
p += a_i.p;
93+
p += a_i.p;
9494
AminoAcid { c: a_i.c, p: p * LOOKUP_SCALE }
9595
}).collect();
9696
let result_len = result.len();
@@ -179,7 +179,7 @@ impl<'a, W: Write> RandomFasta<'a, W> {
179179
fn nextc(&mut self) -> u8 {
180180
let r = self.rng(LOOKUP_SCALE);
181181
for i in (r as usize..LOOKUP_SIZE) {
182-
if self.lookup[i].p >= r {
182+
if self.lookup[i].p >= r {
183183
return self.lookup[i].c;
184184
}
185185
}
@@ -212,7 +212,7 @@ fn main() {
212212
} else {
213213
5
214214
};
215-
215+
216216
let stdout = io::stdout();
217217
let mut out = stdout.lock();
218218

0 commit comments

Comments
 (0)