]> git.lizzy.rs Git - rust.git/blobdiff - src/test/bench/shootout-fasta.rs
test: Automatically remove all `~[T]` from tests.
[rust.git] / src / test / bench / shootout-fasta.rs
index ae0bd069c906d7d5b4b97946a8c55df80b1c6542..76ac8407d60c57a77fb1332d2334445e6f219c40 100644 (file)
@@ -36,8 +36,7 @@ fn gen(&mut self) -> u32 {
 
 struct AAGen<'a> {
     rng: &'a mut MyRandom,
-    data: ~[(u32, u8)]
-}
+    data: Vec<(u32, u8)> }
 impl<'a> AAGen<'a> {
     fn new<'b>(rng: &'b mut MyRandom, aa: &[(char, f32)]) -> AAGen<'b> {
         let mut cum = 0.;