about summary refs log tree commit diff
path: root/tests/ui/indexing
diff options
context:
space:
mode:
authordxsullivan <193140725+dxsullivan@users.noreply.github.com>2024-12-31 23:46:39 +0800
committerdxsullivan <193140725+dxsullivan@users.noreply.github.com>2024-12-31 23:46:39 +0800
commitbb16267a65f00defdc5d484375c59f9d93dfa50e (patch)
treeba7c5d2f5906c1a7ef26f4067f7d418e0a32f61e /tests/ui/indexing
parentaea4e4370330388bf2906b79769d43e581d487b4 (diff)
downloadrust-bb16267a65f00defdc5d484375c59f9d93dfa50e.tar.gz
rust-bb16267a65f00defdc5d484375c59f9d93dfa50e.zip
chore: fix typos
Signed-off-by: dxsullivan <193140725+dxsullivan@users.noreply.github.com>
Diffstat (limited to 'tests/ui/indexing')
-rw-r--r--tests/ui/indexing/indexing-spans-caller-location.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/indexing/indexing-spans-caller-location.rs b/tests/ui/indexing/indexing-spans-caller-location.rs
index 02d8b853734..b01e3894ac1 100644
--- a/tests/ui/indexing/indexing-spans-caller-location.rs
+++ b/tests/ui/indexing/indexing-spans-caller-location.rs
@@ -20,7 +20,7 @@ impl std::ops::Index<usize> for A {
     type Output = ();
 
     fn index(&self, _idx: usize) -> &() {
-        // Use the relative number to make it resistent to header changes.
+        // Use the relative number to make it resistant to header changes.
         assert_eq!(caller_line(), self.prev_line + 2);
         &()
     }