Skip to content

Commit

Permalink
x.py fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Feb 4, 2022
1 parent 4c4e430 commit 7d603dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions library/std/src/os/fd/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#[test]
fn test_raw_fd() {
#[cfg(unix)]
use crate::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd, BorrowedFd};
use crate::os::unix::io::{AsRawFd, BorrowedFd, FromRawFd, IntoRawFd, RawFd};
#[cfg(target_os = "wasi")]
use crate::os::wasi::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd, BorrowedFd};
use crate::os::wasi::io::{AsRawFd, BorrowedFd, FromRawFd, IntoRawFd, RawFd};

let raw_fd: RawFd = crate::io::stdin().as_raw_fd();

Expand All @@ -18,9 +18,9 @@ fn test_raw_fd() {
#[test]
fn test_fd() {
#[cfg(unix)]
use crate::os::unix::io::{AsFd, BorrowedFd, OwnedFd, FromRawFd, IntoRawFd, RawFd, AsRawFd};
use crate::os::unix::io::{AsFd, AsRawFd, BorrowedFd, FromRawFd, IntoRawFd, OwnedFd, RawFd};
#[cfg(target_os = "wasi")]
use crate::os::wasi::io::{AsFd, BorrowedFd, OwnedFd, FromRawFd, IntoRawFd, RawFd, AsRawFd};
use crate::os::wasi::io::{AsFd, AsRawFd, BorrowedFd, FromRawFd, IntoRawFd, OwnedFd, RawFd};

let stdin = crate::io::stdin();
let fd: BorrowedFd<'_> = stdin.as_fd();
Expand Down

0 comments on commit 7d603dc

Please sign in to comment.