Skip to content

Commit 3685a1e

Browse files
committed
feat(fix): update some links
1 parent fa68e73 commit 3685a1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_hir/src/hir.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,7 +1885,7 @@ pub enum ExprKind<'hir> {
18851885
/// To resolve the called method to a `DefId`, call [`type_dependent_def_id`] with
18861886
/// the `hir_id` of the `MethodCall` node itself.
18871887
///
1888-
/// [`type_dependent_def_id`]: ../ty/struct.TypeckResults.html#method.type_dependent_def_id
1888+
/// [`type_dependent_def_id`]: ../../rustc_middle/ty/struct.TypeckResults.html#method.type_dependent_def_id
18891889
MethodCall(&'hir PathSegment<'hir>, &'hir [Expr<'hir>], Span),
18901890
/// A tuple (e.g., `(a, b, c, d)`).
18911891
Tup(&'hir [Expr<'hir>]),
@@ -1982,7 +1982,7 @@ pub enum ExprKind<'hir> {
19821982
///
19831983
/// To resolve the path to a `DefId`, call [`qpath_res`].
19841984
///
1985-
/// [`qpath_res`]: ../rustc_middle/ty/struct.TypeckResults.html#method.qpath_res
1985+
/// [`qpath_res`]: ../../rustc_middle/ty/struct.TypeckResults.html#method.qpath_res
19861986
#[derive(Debug, HashStable_Generic)]
19871987
pub enum QPath<'hir> {
19881988
/// Path to a definition, optionally "fully-qualified" with a `Self`

0 commit comments

Comments
 (0)