mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-13 14:12:31 +00:00
fmt
This commit is contained in:
parent
a8e0edc16d
commit
77971ef9b0
1 changed files with 3 additions and 1 deletions
|
@ -758,7 +758,9 @@ impl Picture {
|
|||
if desc_len > 0 && desc_len < size {
|
||||
let pos = 12 + mime_len;
|
||||
|
||||
if let Ok(desc) = std::str::from_utf8(&content[pos..pos + desc_len]) {
|
||||
if let Ok(desc) =
|
||||
std::str::from_utf8(&content[pos..pos + desc_len])
|
||||
{
|
||||
description = Some(Cow::from(desc.to_string()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue