about summary refs log tree commit diff
diff options
context:
space:
mode:
authoromahs <73983677+omahs@users.noreply.github.com>2024-03-17 14:25:06 +0100
committerGitHub <noreply@github.com>2024-03-17 14:25:06 +0100
commit96e3c2c1acbb711c9b936b558d6a0232a7aca626 (patch)
tree07c8f7ad491c18c22017856342581320d209fbac
parentecdea9e9438cdb8cf707e7f60e066eda02344d05 (diff)
downloadrust-96e3c2c1acbb711c9b936b558d6a0232a7aca626.tar.gz
rust-96e3c2c1acbb711c9b936b558d6a0232a7aca626.zip
fix typo
-rw-r--r--compiler/rustc_hir_typeck/src/method/probe.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_typeck/src/method/probe.rs b/compiler/rustc_hir_typeck/src/method/probe.rs
index bdc796aca3a..e4d5ebb82e8 100644
--- a/compiler/rustc_hir_typeck/src/method/probe.rs
+++ b/compiler/rustc_hir_typeck/src/method/probe.rs
@@ -1935,7 +1935,7 @@ impl<'a, 'tcx> ProbeContext<'a, 'tcx> {
         }
     }
 
-    /// Determine if the associated item withe the given DefId matches
+    /// Determine if the associated item with the given DefId matches
     /// the desired name via a doc alias.
     fn matches_by_doc_alias(&self, def_id: DefId) -> bool {
         let Some(name) = self.method_name else {