about summary refs log tree commit diff
path: root/src/libnative
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnative')
-rw-r--r--src/libnative/io/mod.rs2
-rw-r--r--src/libnative/io/process.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libnative/io/mod.rs b/src/libnative/io/mod.rs
index 2dc6539b178..276194feaf0 100644
--- a/src/libnative/io/mod.rs
+++ b/src/libnative/io/mod.rs
@@ -21,7 +21,7 @@
 //! play. The only dependencies of these modules are the normal system libraries
 //! that you would find on the respective platform.
 
-#![allow(non_snake_case_functions)]
+#![allow(non_snake_case)]
 
 use libc::c_int;
 use libc;
diff --git a/src/libnative/io/process.rs b/src/libnative/io/process.rs
index b8ec0cd5496..0cc7158bb5d 100644
--- a/src/libnative/io/process.rs
+++ b/src/libnative/io/process.rs
@@ -838,7 +838,7 @@ fn free_handle(_handle: *mut ()) {
 
 #[cfg(unix)]
 fn translate_status(status: c_int) -> rtio::ProcessExit {
-    #![allow(non_snake_case_functions)]
+    #![allow(non_snake_case)]
     #[cfg(target_os = "linux")]
     #[cfg(target_os = "android")]
     mod imp {