mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-28 00:00:11 +02:00
chore: apply rustfmt to all crates (#917)
This commit is contained in:
@@ -12,7 +12,8 @@ pub(crate) struct Callback {
|
||||
|
||||
impl Callback {
|
||||
pub fn new<F>(f: F) -> Self
|
||||
where F: Fn(&Worker, &mut Enter) + Send + Sync + 'static
|
||||
where
|
||||
F: Fn(&Worker, &mut Enter) + Send + Sync + 'static,
|
||||
{
|
||||
Callback { f: Arc::new(f) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user