about summary refs log tree commit diff
path: root/tests/run-coverage/closure_macro_async.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-08-17 11:43:10 +1000
committerZalathar <Zalathar@users.noreply.github.com>2023-08-26 14:35:34 +1000
commit8d91e71e9a015c864b29725ec9430c5db4325cf4 (patch)
tree91d68de6a9e84af78becfacc8a64bf8956b8be97 /tests/run-coverage/closure_macro_async.rs
parent4da38c31d21347fe7800c4263cb34a8c9e62d0fb (diff)
downloadrust-8d91e71e9a015c864b29725ec9430c5db4325cf4.tar.gz
rust-8d91e71e9a015c864b29725ec9430c5db4325cf4.zip
Various trivial formatting fixes in `run-coverage` tests
These changes were made by manually running `rustfmt` on all of the test files,
and then manually undoing all cases where the original formatting appeared to
have been deliberate.

  `rustfmt +nightly --config-path=/dev/null --edition=2021 tests/run-coverage*/**/*.rs`
Diffstat (limited to 'tests/run-coverage/closure_macro_async.rs')
-rw-r--r--tests/run-coverage/closure_macro_async.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/run-coverage/closure_macro_async.rs b/tests/run-coverage/closure_macro_async.rs
index a90827572bb..3d6bdb38a2a 100644
--- a/tests/run-coverage/closure_macro_async.rs
+++ b/tests/run-coverage/closure_macro_async.rs
@@ -56,16 +56,12 @@ mod executor {
         let mut future = unsafe { Pin::new_unchecked(&mut future) };
         use std::hint::unreachable_unchecked;
         static VTABLE: RawWakerVTable = RawWakerVTable::new(
-
             #[no_coverage]
             |_| unsafe { unreachable_unchecked() }, // clone
-
             #[no_coverage]
             |_| unsafe { unreachable_unchecked() }, // wake
-
             #[no_coverage]
             |_| unsafe { unreachable_unchecked() }, // wake_by_ref
-
             #[no_coverage]
             |_| (),
         );