Skip to content

Commit

Permalink
Automatic formatting with rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Tidy Bot committed Jul 13, 2020
1 parent cfcbf1e commit f8aaa9a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pool/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ use super::{
};

trait FnOnce<Args>: traits::FnOnceBox<Args> + st::Serialize + st::Deserialize {}
impl<T, Args> FnOnce<Args> for T where
T: traits::FnOnce<Args> + st::Serialize + st::Deserialize
{
}
impl<T, Args> FnOnce<Args> for T where T: traits::FnOnce<Args> + st::Serialize + st::Deserialize {}

#[serde_closure::desugar]
type Request = st::Box<dyn FnOnce(&ThreadPool) -> LocalBoxFuture<'static, Response> + Send>;
Expand Down

0 comments on commit f8aaa9a

Please sign in to comment.