about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-05-01 19:49:18 +0200
committerGitHub <noreply@github.com>2020-05-01 19:49:18 +0200
commitda42f6897e30e182b3372b996de2be3da3f42ed5 (patch)
treec2a5677067df14713207d9d45aa6d76fc9420ba6
parent2a3c2b335bb119ed34ece69edc837778266c821d (diff)
parent5f4b7a4585bd011a5b889f74170b208508b48c64 (diff)
downloadrust-da42f6897e30e182b3372b996de2be3da3f42ed5.tar.gz
rust-da42f6897e30e182b3372b996de2be3da3f42ed5.zip
Rollup merge of #71755 - tshepang:fix-comment, r=jonas-schievink
fix doc reference

Should of been in e0ce9f8c0a97e5949c9cadd220279d6969289daa,
but that had a typo.
-rw-r--r--src/librustc_hir/hir.rs2
1 files changed, 1 insertions, 1 deletions
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,