Removed unnecessary comments for old argument parsing.

This commit is contained in:
Nicolás A. Ortega Froysa 2021-03-03 11:18:52 +01:00
parent 4e83d73810
commit c10c79dcfd

View File

@ -31,11 +31,9 @@ struct Opt {
}
fn main() {
//let args:Vec<String> = env::args().collect();
let opts = Opt::from_args();
// get the first `n` primes
//let n:usize = args[1].parse().unwrap();
let n = opts.n;
let mut primes:VecDeque<u64> = VecDeque::with_capacity(n);
// first prime