Skip to content
Prev Previous commit
Next Next commit
rustfmt
  • Loading branch information
Darksonn committed Jan 28, 2022
commit 78c4bba60f7c44c7f45cf1977c25beca1d19ea8b
4 changes: 3 additions & 1 deletion tokio/src/sync/tests/notify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ fn notify_simple() {
#[test]
#[cfg(not(target_arch = "wasm32"))]
fn watch_test() {
let rt = crate::runtime::Builder::new_current_thread().build().unwrap();
let rt = crate::runtime::Builder::new_current_thread()
.build()
.unwrap();

rt.block_on(async {
let (tx, mut rx) = crate::sync::watch::channel(());
Expand Down