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
+1 -1
View File
@@ -1601,7 +1601,7 @@ pub enum ExprKind<'hir> {
///
/// 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)]
pub enum QPath<'hir> {
/// Path to a definition, optionally "fully-qualified" with a `Self`