about summary refs log tree commit diff
path: root/src/tools/miri/tests/fail
diff options
context:
space:
mode:
authorfindseat <penglili@outlook.com>2024-04-06 10:35:24 +0800
committerfindseat <penglili@outlook.com>2024-04-06 10:35:24 +0800
commit8f68946e9899b63ef8f3cefb3e7c40faefb5fa94 (patch)
tree32c9100a9f4f1de2b64810f6f2bd14302821456b /src/tools/miri/tests/fail
parentcda7898ba883597508cccb875829e3bc0bc0301a (diff)
downloadrust-8f68946e9899b63ef8f3cefb3e7c40faefb5fa94.tar.gz
rust-8f68946e9899b63ef8f3cefb3e7c40faefb5fa94.zip
chore: fix some typos
Signed-off-by: findseat <penglili@outlook.com>
Diffstat (limited to 'src/tools/miri/tests/fail')
-rw-r--r--src/tools/miri/tests/fail/tree_borrows/spurious_read.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/miri/tests/fail/tree_borrows/spurious_read.rs b/src/tools/miri/tests/fail/tree_borrows/spurious_read.rs
index 3f39dcb4b76..50ef0ceef91 100644
--- a/src/tools/miri/tests/fail/tree_borrows/spurious_read.rs
+++ b/src/tools/miri/tests/fail/tree_borrows/spurious_read.rs
@@ -89,7 +89,7 @@ fn retagx_retagy_retx_writey_rety() {
     // - retag `y` protected
     // - (wait for the other thread to return so that there is no foreign protector when we write)
     // - attempt a write through `y`.
-    // - (UB should have occured by now, but the next step would be to
+    // - (UB should have occurred by now, but the next step would be to
     //    remove `y`'s protector)
     let thread_y = thread::spawn(move || {
         let b = (2, by);