decoder: Fix clippy warning
This commit is contained in:
parent
71351a0c03
commit
def2e8966f
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ impl Decoder {
|
|||
// - image/svg+xml
|
||||
// - image/svg+xml-compressed
|
||||
if mime_type.split('+').next() == Some("image/svg") {
|
||||
return FormatDecoder::Svg(Svg::new(image, update_sender, tiles));
|
||||
FormatDecoder::Svg(Svg::new(image, update_sender, tiles))
|
||||
} else {
|
||||
FormatDecoder::Glycin(Glycin::new(image, update_sender, tiles))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue