summaryrefslogtreecommitdiffstats
path: root/GC.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-03-13 22:50:02 -0500
committerJesse Luehrs <doy@tozt.net>2013-03-13 22:50:02 -0500
commita88eef55cd2552cb49d47c274ed080feac649112 (patch)
tree646d388d30745543ec79eb2a365b0f74fe129226 /GC.rs
parent00e7efaee4bb250758563289ef509101b43715f1 (diff)
downloadrosalind-a88eef55cd2552cb49d47c274ed080feac649112.tar.gz
rosalind-a88eef55cd2552cb49d47c274ed080feac649112.zip
fixes for rust 0.6HEADmaster
Diffstat (limited to 'GC.rs')
-rw-r--r--GC.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/GC.rs b/GC.rs
index 11f18b3..4560366 100644
--- a/GC.rs
+++ b/GC.rs
@@ -3,7 +3,7 @@ use rosalind::dna::gc_content;
use rosalind::fasta::FASTAReader;
fn main() {
- let reader = FASTAReader::new();
+ let mut reader = FASTAReader::new();
let mut (max_name, max_gc) = (~"", -1f);
for reader.each_sequence |name, dna| {
let gc_content = gc_content(dna);