cargo fmt and cargo fix

This commit is contained in:
Jeremy Soller
2022-11-11 13:26:46 -07:00
parent d1a86c850e
commit 16abc91341
25 changed files with 737 additions and 534 deletions
+1 -1
View File
@@ -1 +1 @@
use crate::platform::{PalEpoll, Sys};
+2 -2
View File
@@ -8,7 +8,7 @@ mod epoll;
#[test]
fn access() {
use crate::header::{errno, unistd};
use crate::header::unistd;
//TODO: create test files
assert_eq!(Sys::access(c_str!("not a file!"), unistd::F_OK), !0);
@@ -69,7 +69,7 @@ fn clock_gettime() {
#[test]
fn getrandom() {
use crate::{header::sys_random, platform::types::ssize_t};
use crate::platform::types::ssize_t;
let mut arrays = [[0; 32]; 32];
for i in 1..arrays.len() {