Skip to content

Commit 924b501

Browse files
committed
Fix size_of import
1 parent 4ef7e69 commit 924b501

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/codecs/pnm/decoder.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use std::error;
22
use std::fmt::{self, Display};
33
use std::io::{self, Read};
4+
use std::mem::size_of;
45
use std::num::ParseIntError;
56
use std::str::{self, FromStr};
67

src/image.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#![allow(clippy::too_many_arguments)]
22
use std::ffi::OsStr;
33
use std::io::{self, Write};
4+
use std::mem::size_of;
45
use std::ops::{Deref, DerefMut};
56
use std::path::Path;
67

0 commit comments

Comments
 (0)