mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Apply some clippy suggestions
This commit is contained in:
parent
e26444c982
commit
0926d912eb
4 changed files with 6 additions and 8 deletions
|
|
@ -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)?),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue