Skip to content

Commit

Permalink
Fix size_of import
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Jun 28, 2024
1 parent 4ef7e69 commit 924b501
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/codecs/pnm/decoder.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use std::error;
use std::fmt::{self, Display};
use std::io::{self, Read};
use std::mem::size_of;
use std::num::ParseIntError;
use std::str::{self, FromStr};

Expand Down
1 change: 1 addition & 0 deletions src/image.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#![allow(clippy::too_many_arguments)]
use std::ffi::OsStr;
use std::io::{self, Write};
use std::mem::size_of;
use std::ops::{Deref, DerefMut};
use std::path::Path;

Expand Down

0 comments on commit 924b501

Please sign in to comment.