1
Fork 0

Rollup merge of #71596 - LeSeulArtichaut:patch-1, r=Dylan-DPC

Fix broken link in `QPath` documentation

r? @Dylan-DPC
This commit is contained in:
Dylan DPC 2020-04-27 22:15:07 +02:00 committed by GitHub
commit c1c46c751c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1601,7 +1601,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`]: ../ty/struct.TypeckTables.html#method.qpath_res /// [`qpath_res`]: ../rustc_middle/ty/struct.TypeckTables.html#method.qpath_res
#[derive(RustcEncodable, RustcDecodable, Debug, HashStable_Generic)] #[derive(RustcEncodable, RustcDecodable, 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`