]> git.lizzy.rs Git - rust.git/commitdiff
fix doc reference
authorTshepang Lekhonkhobe <tshepang@gmail.com>
Fri, 1 May 2020 15:53:52 +0000 (17:53 +0200)
committerTshepang Lekhonkhobe <tshepang@gmail.com>
Fri, 1 May 2020 15:53:52 +0000 (17:53 +0200)
Should of been in e0ce9f8c0a97e5949c9cadd220279d6969289daa,
but that had a typo.

src/librustc_hir/hir.rs

index 654cd4980a4e16f3cd89db88b40f7bcef0e67570..258428d77da109aa8d94f31a95847a5d162d1255 100644 (file)
@@ -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,