Skip to content

Commit

Permalink
small simplifying update
Browse files Browse the repository at this point in the history
  • Loading branch information
nrminor committed Apr 9, 2024
1 parent c249536 commit be9f0a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/viralrecon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ pub fn find_files(search_dir: &Path, fastq_suffix: &str) -> Result<Vec<Rc<Path>>
// iterate through entries and make sure they aren't symlinks
let fastq_paths: Vec<Rc<Path>> = glob(&pattern)?
.filter(|entry| entry.is_ok())
.map(|x| x.unwrap())
.map(|x| Rc::from(x))
.map(|x| Rc::from(x.unwrap()))
.collect();

Ok(fastq_paths)
Expand Down

0 comments on commit be9f0a5

Please sign in to comment.