Skip to content

Commit 42fc5f4

Browse files
djcrami3l
authored andcommitted
dist: clean up unnecessary qualification
1 parent 552e50b commit 42fc5f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dist/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ impl TargetTriple {
397397
pub(crate) fn is_host_emulated() -> bool {
398398
unsafe {
399399
let mut ret: libc::c_int = 0;
400-
let mut size = std::mem::size_of::<libc::c_int>() as libc::size_t;
400+
let mut size = size_of::<libc::c_int>() as libc::size_t;
401401
let err = libc::sysctlbyname(
402402
c"sysctl.proc_translated".as_ptr().cast(),
403403
(&mut ret) as *mut _ as *mut libc::c_void,

0 commit comments

Comments
 (0)