From 5f4b7a4585bd011a5b889f74170b208508b48c64 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Fri, 1 May 2020 17:53:52 +0200 Subject: [PATCH] fix doc reference Should of been in e0ce9f8c0a97e5949c9cadd220279d6969289daa, but that had a typo. --- src/librustc_hir/hir.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_hir/hir.rs b/src/librustc_hir/hir.rs index 654cd4980a4..258428d77da 100644 --- a/src/librustc_hir/hir.rs +++ b/src/librustc_hir/hir.rs @@ -2050,7 +2050,7 @@ pub struct Param<'hir> { pub struct FnDecl<'hir> { /// The types of the function's parameters. /// - /// Additional argument data is stored in the function's [body](Body::parameters). + /// Additional argument data is stored in the function's [body](Body::params). pub inputs: &'hir [Ty<'hir>], pub output: FnRetTy<'hir>, pub c_variadic: bool,