remove redundant to_str
This commit is contained in:
parent
fee96e6b49
commit
60e8f3ec46
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ fn read_opus(path: &Path) -> Result<SongTags> {
|
|||
};
|
||||
|
||||
for (key, value) in headers.comments.user_comments {
|
||||
match key.as_str().to_uppercase().as_str() {
|
||||
match key.to_uppercase().as_str() {
|
||||
"TITLE" => tags.title = Some(value),
|
||||
"ALBUM" => tags.album = Some(value),
|
||||
"ARTIST" => tags.artist = Some(value),
|
||||
|
|
Loading…
Add table
Reference in a new issue