Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
brayniac committed Jan 23, 2024
1 parent 693ed7f commit e3df697
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/proxy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ extern crate logger;
extern crate metriken;

use admin::AdminBuilder;
use clocksource::precise::Instant;
use common::signal::Signal;
use common::ssl::tls_acceptor;
use config::proxy::*;
Expand All @@ -30,7 +31,6 @@ use slab::Slab;
use std::io::{Error, ErrorKind, Result};
use std::sync::Arc;
use switchboard::{Queues, Waker};
use clocksource::precise::Instant;

mod backend;
mod frontend;
Expand Down
4 changes: 2 additions & 2 deletions src/session/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ pub use buffer::*;
pub use client::ClientSession;
pub use server::ServerSession;

use std::os::unix::prelude::AsRawFd;
use clocksource::precise::Instant;
use core::borrow::{Borrow, BorrowMut};
use core::fmt::Debug;
use core::marker::PhantomData;
use clocksource::precise::Instant;
use metriken::*;
use pelikan_net::*;
use protocol_common::Compose;
Expand All @@ -35,6 +34,7 @@ use std::io::ErrorKind;
use std::io::Read;
use std::io::Result;
use std::io::Write;
use std::os::unix::prelude::AsRawFd;

#[metric(
name = "session_buffer_byte",
Expand Down

0 comments on commit e3df697

Please sign in to comment.