Apply some clippy suggestions

This commit is contained in:
Elias Projahn 2023-11-25 15:05:40 +01:00
parent e26444c982
commit 0926d912eb
4 changed files with 6 additions and 8 deletions

View file

@ -380,7 +380,7 @@ impl MusicusLibrary {
.get::<_, String>(4)?
.split(',')
.filter(|s| !s.is_empty())
.map(|s| str::parse::<usize>(s))
.map(str::parse::<usize>)
.collect::<Result<Vec<usize>, ParseIntError>>()
.expect("work part IDs should be valid integers"),
path: PathBuf::from(self.folder()).join(row.get::<_, String>(6)?),