about summary refs log tree commit diff
path: root/tests/coverage/async.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/coverage/async.rs')
-rw-r--r--tests/coverage/async.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/coverage/async.rs b/tests/coverage/async.rs
index da0a1c0b6f0..777ad7ce7c0 100644
--- a/tests/coverage/async.rs
+++ b/tests/coverage/async.rs
@@ -24,7 +24,7 @@ async fn f() -> u8 { 1 }
 
 async fn foo() -> [bool; 10] { [false; 10] } // unused function; executor does not block on `h()`
 
-pub async fn g(x: u8) {
+async fn g(x: u8) {
     match x {
         y if e().await == y => (),
         y if f().await == y => (),