Thomas пре 3 година
родитељ
комит
1209544553
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -4,7 +4,7 @@ use std::{ops::Range};
 pub enum Nucleotid {A, C, G, T}
 
 #[derive(Debug, Clone, PartialEq)]
-pub struct DNAString(Vec<Nucleotid>);
+pub struct DNAString(pub Vec<Nucleotid>);
 
 impl DNAString {
     pub fn new(input: Vec<u8>) -> DNAString { // replace by new from vec u8 or from string