feat(fix): update some links
This commit is contained in:
@@ -1885,7 +1885,7 @@ pub enum ExprKind<'hir> {
|
|||||||
/// To resolve the called method to a `DefId`, call [`type_dependent_def_id`] with
|
/// To resolve the called method to a `DefId`, call [`type_dependent_def_id`] with
|
||||||
/// the `hir_id` of the `MethodCall` node itself.
|
/// the `hir_id` of the `MethodCall` node itself.
|
||||||
///
|
///
|
||||||
/// [`type_dependent_def_id`]: ../ty/struct.TypeckResults.html#method.type_dependent_def_id
|
/// [`type_dependent_def_id`]: ../../rustc_middle/ty/struct.TypeckResults.html#method.type_dependent_def_id
|
||||||
MethodCall(&'hir PathSegment<'hir>, &'hir [Expr<'hir>], Span),
|
MethodCall(&'hir PathSegment<'hir>, &'hir [Expr<'hir>], Span),
|
||||||
/// A tuple (e.g., `(a, b, c, d)`).
|
/// A tuple (e.g., `(a, b, c, d)`).
|
||||||
Tup(&'hir [Expr<'hir>]),
|
Tup(&'hir [Expr<'hir>]),
|
||||||
@@ -1982,7 +1982,7 @@ pub enum ExprKind<'hir> {
|
|||||||
///
|
///
|
||||||
/// To resolve the path to a `DefId`, call [`qpath_res`].
|
/// To resolve the path to a `DefId`, call [`qpath_res`].
|
||||||
///
|
///
|
||||||
/// [`qpath_res`]: ../rustc_middle/ty/struct.TypeckResults.html#method.qpath_res
|
/// [`qpath_res`]: ../../rustc_middle/ty/struct.TypeckResults.html#method.qpath_res
|
||||||
#[derive(Debug, HashStable_Generic)]
|
#[derive(Debug, HashStable_Generic)]
|
||||||
pub enum QPath<'hir> {
|
pub enum QPath<'hir> {
|
||||||
/// Path to a definition, optionally "fully-qualified" with a `Self`
|
/// Path to a definition, optionally "fully-qualified" with a `Self`
|
||||||
|
|||||||
Reference in New Issue
Block a user