Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gbbosak committed Dec 4, 2024
1 parent 58bf0b8 commit 77265cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mock-omaha-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use {
tokio::task::JoinHandle,
};

#[cfg(all(not(fasync), not(target_os="fuchsia")))]
#[cfg(all(not(fasync), not(target_os = "fuchsia")))]
use tokio::sync::Mutex;

#[cfg(fasync)]
Expand Down Expand Up @@ -174,10 +174,10 @@ impl tokio::io::AsyncWrite for ConnectionStream {
}
}

#[cfg(not(target_os="fuchsia"))]
#[cfg(not(target_os = "fuchsia"))]
struct TcpListenerStream(TcpListener);

#[cfg(not(target_os="fuchsia"))]
#[cfg(not(target_os = "fuchsia"))]
impl Stream for TcpListenerStream {
type Item = Result<TcpStream, std::io::Error>;
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
Expand Down

0 comments on commit 77265cf

Please sign in to comment.