about summary refs log tree commit diff
path: root/src/test/run-make/coverage/async.rs
diff options
context:
space:
mode:
authorDezhi Wu <wu543065657@163.com>2022-08-18 10:13:37 +0800
committerDezhi Wu <wu543065657@163.com>2022-08-31 18:24:55 +0800
commitb1430fb7ca499d517d9f4b3b6c5a81442129c88b (patch)
treeff8f7fbd60789774143168b08862f8edfdcf8526 /src/test/run-make/coverage/async.rs
parent7f442f8ba174fd4233a14ef4d7b577aa907db594 (diff)
downloadrust-b1430fb7ca499d517d9f4b3b6c5a81442129c88b.tar.gz
rust-b1430fb7ca499d517d9f4b3b6c5a81442129c88b.zip
Fix a bunch of typo
This PR will fix some typos detected by [typos].

I only picked the ones I was sure were spelling errors to fix, mostly in
the comments.

[typos]: https://github.com/crate-ci/typos
Diffstat (limited to 'src/test/run-make/coverage/async.rs')
-rw-r--r--src/test/run-make/coverage/async.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make/coverage/async.rs b/src/test/run-make/coverage/async.rs
index a6e38774706..efd9e62d64e 100644
--- a/src/test/run-make/coverage/async.rs
+++ b/src/test/run-make/coverage/async.rs
@@ -52,7 +52,7 @@ fn j(x: u8) {
         if x == 8 {
             1 // This line appears covered, but the 1-character expression span covering the `1`
               // is not executed. (`llvm-cov show` displays a `^0` below the `1` ). This is because
-              // `fn j()` executes the open brace for the funciton body, followed by the function's
+              // `fn j()` executes the open brace for the function body, followed by the function's
               // first executable statement, `match x`. Inner function declarations are not
               // "visible" to the MIR for `j()`, so the code region counts all lines between the
               // open brace and the first statement as executed, which is, in a sense, true.