about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-11-06 11:15:30 +0100
committerGitHub <noreply@github.com>2019-11-06 11:15:30 +0100
commitf2ed1e661e69dc463aa18ef3912501e1dde936b8 (patch)
treec57b7b60f7d5b92a595e549189af6b5d54b46725
parent151e9890f4cf8ea714dd6a4760589b322dab567b (diff)
downloadrust-f2ed1e661e69dc463aa18ef3912501e1dde936b8.tar.gz
rust-f2ed1e661e69dc463aa18ef3912501e1dde936b8.zip
Fix markdown link
Co-Authored-By: Oliver Scherer <github35764891676564198441@oli-obk.de>
-rw-r--r--src/librustc/hir/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/hir/mod.rs b/src/librustc/hir/mod.rs
index cbbf808bece..d6f7ba6b973 100644
--- a/src/librustc/hir/mod.rs
+++ b/src/librustc/hir/mod.rs
@@ -1620,7 +1620,7 @@ pub enum ExprKind {
     /// To resolve the called method to a `DefId`, call [`type_dependent_def_id`] with
     /// the `hir_id` of the `MethodCall` node itself.
     ///
-    /// [`qpath_res`]: ../ty/struct.TypeckTables.html#method.type_dependent_def_id
+    /// [`type_dependent_def_id`]: ../ty/struct.TypeckTables.html#method.type_dependent_def_id
     MethodCall(P<PathSegment>, Span, HirVec<Expr>),
     /// A tuple (e.g., `(a, b, c, d)`).
     Tup(HirVec<Expr>),