style: propagate clippy lints throughout workspace
This commit is contained in:
parent
f445a03fb2
commit
8f3c426359
4 changed files with 11 additions and 1 deletions
|
@ -2,7 +2,7 @@ pub mod read {
|
|||
use image::{io::Reader as ImageReader, DynamicImage};
|
||||
use rpl::instructions::read::{Read, SourceType};
|
||||
|
||||
pub fn read(Read { source, format: _ }: Read) -> DynamicImage {
|
||||
pub fn read(Read { source, .. }: Read) -> DynamicImage {
|
||||
// TODO: actual error handling
|
||||
let img = ImageReader::open(match source {
|
||||
SourceType::File(path) => path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue