Skip to content

Commit c7df678

Browse files
committed
rolled back vec for counts
1 parent c34a58a commit c7df678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/regex_dna.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fn main() {
3535
regex!(r"agggta[cgt]a|t[acg]taccct"),
3636
regex!(r"agggtaa[cgt]|[acg]ttaccct"),
3737
];
38-
let mut counts = Vec::with_capacity(9);
38+
let mut counts = vec![];
3939
for variant in variants {
4040
let seq = seq_arc.clone();
4141
let restr = variant.to_string();

0 commit comments

Comments
 (0)