From 975f5817f0d8ce1a38d4a6d75e62978d6c61daac Mon Sep 17 00:00:00 2001 From: Aram Drevekenin Date: Sat, 30 Nov 2019 20:19:30 +0100 Subject: [PATCH] style(format): rustfmt --- src/os/mod.rs | 4 ++-- src/os/shared.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/os/mod.rs b/src/os/mod.rs index b45afffe7..acc715091 100644 --- a/src/os/mod.rs +++ b/src/os/mod.rs @@ -1,8 +1,8 @@ #[cfg(target_os = "linux")] -pub (self) mod linux; +pub(self) mod linux; #[cfg(target_os = "macos")] -pub (self) mod macos; +pub(self) mod macos; #[cfg(target_os = "macos")] mod lsof_utils; diff --git a/src/os/shared.rs b/src/os/shared.rs index bef7604df..114972571 100644 --- a/src/os/shared.rs +++ b/src/os/shared.rs @@ -10,11 +10,11 @@ use ::std::time; use signal_hook::iterator::Signals; -use crate::OsInputOutput; #[cfg(target_os = "linux")] use crate::os::linux::get_open_sockets; #[cfg(target_os = "macos")] use crate::os::macos::get_open_sockets; +use crate::OsInputOutput; pub struct KeyboardEvents;