Skip to content

Commit

Permalink
lib: explicitly write down () when collecting to Result<()>
Browse files Browse the repository at this point in the history
Apparently inference ran afoul of rust-lang/rust#123748
  • Loading branch information
pkhuong committed Oct 5, 2024
1 parent a4542e9 commit 6891435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ pub fn copy_all_spool_paths(
to_copy
.into_par_iter()
.map(|path| copy_spool_path(&path))
.collect::<Result<_>>()?;
.collect::<Result<()>>()?;
Ok(())
}

Expand Down

0 comments on commit 6891435

Please sign in to comment.