mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-06 00:00:10 +02:00
reactor: Remove extra semi colon (#1616)
* reactor: Remove extra semi colon * fmt
This commit is contained in:
@@ -445,7 +445,6 @@ mod and_turn {
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mod in_drop {
|
mod in_drop {
|
||||||
@@ -520,7 +519,6 @@ mod in_drop {
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|||||||
@@ -631,7 +631,7 @@ impl HandlePriv {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsafe fn from_usize(val: usize) -> HandlePriv {
|
unsafe fn from_usize(val: usize) -> HandlePriv {
|
||||||
let inner = mem::transmute::<usize, Weak<Inner>>(val);;
|
let inner = mem::transmute::<usize, Weak<Inner>>(val);
|
||||||
HandlePriv { inner }
|
HandlePriv { inner }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,6 @@ mod platform {
|
|||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(unix))]
|
#[cfg(not(unix))]
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ mod platform {
|
|||||||
::tokio::runtime::current_thread::block_on_all(future)?;
|
::tokio::runtime::current_thread::block_on_all(future)?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(unix))]
|
#[cfg(not(unix))]
|
||||||
|
|||||||
@@ -127,5 +127,4 @@ mod tests {
|
|||||||
let mut fut = future::ok::<(), ()>(());
|
let mut fut = future::ok::<(), ()>(());
|
||||||
assert_ready_eq!(fut.poll(), ());
|
assert_ready_eq!(fut.poll(), ());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user