about summary refs log tree commit diff
path: root/tests/ui/lto
diff options
context:
space:
mode:
authorTechVest <techdashen@qq.com>2024-04-17 15:05:56 +0800
committerTechVest <techdashen@qq.com>2024-04-25 10:47:24 +0800
commit45df09b7deaeda5a816d9e447e5cca7b928b60c6 (patch)
tree66d00edc7770527432ebea4cd021be4a6338cee3 /tests/ui/lto
parentb7581490aaf964d4a34121d75be0fc49a2445911 (diff)
downloadrust-45df09b7deaeda5a816d9e447e5cca7b928b60c6.tar.gz
rust-45df09b7deaeda5a816d9e447e5cca7b928b60c6.zip
Fix some typos in comments
Signed-off-by: TechVest <techdashen@qq.com>
Diffstat (limited to 'tests/ui/lto')
-rw-r--r--tests/ui/lto/issue-105637.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/lto/issue-105637.rs b/tests/ui/lto/issue-105637.rs
index 2cc70964b4c..884cd5d5e0e 100644
--- a/tests/ui/lto/issue-105637.rs
+++ b/tests/ui/lto/issue-105637.rs
@@ -3,8 +3,8 @@
 //
 // That manifested as both `rustc_driver` and rustc's "main" (`compiler/rustc`) having their own
 // `std::panicking::HOOK` static, and the hook in rustc's main (the default stdlib's) being executed
-// when rustc ICEs, instead of the overriden hook from `rustc_driver` (which also displays the query
-// stack and information on how to open a GH issue for the encountered ICE).
+// when rustc ICEs, instead of the overridden hook from `rustc_driver` (which also displays the
+// query stack and information on how to open a GH issue for the encountered ICE).
 //
 // In this test, we reproduce this setup by installing a panic hook in both the main and an LTOed
 // dylib: the last hook set should be the one being executed, the dylib's.