Remove some allows
This commit is contained in:
parent
15e8b70ae4
commit
7145e14d29
1 changed files with 1 additions and 10 deletions
|
@ -1,18 +1,9 @@
|
|||
#![allow(
|
||||
dead_code,
|
||||
mutable_transmutes,
|
||||
non_camel_case_types,
|
||||
non_snake_case,
|
||||
non_upper_case_globals,
|
||||
unused_assignments,
|
||||
unused_mut
|
||||
)]
|
||||
#![allow(non_camel_case_types, non_snake_case, non_upper_case_globals)]
|
||||
|
||||
use std::ffi::{CStr, CString};
|
||||
|
||||
use thiserror::Error;
|
||||
extern "C" {
|
||||
fn printf(_: *const libc::c_char, _: ...) -> i32;
|
||||
fn memcpy(_: *mut libc::c_void, _: *const libc::c_void, _: u64) -> *mut libc::c_void;
|
||||
fn memset(_: *mut libc::c_void, _: i32, _: u64) -> *mut libc::c_void;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue