From bbe7b85ef154dad5c7e17e7dc00895ec3bfcd189 Mon Sep 17 00:00:00 2001 From: Andy Russell Date: Thu, 2 May 2019 14:03:33 -0400 Subject: [PATCH] mention `hir::Body` in docs for `hir::FnDecl` --- src/librustc/hir/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/librustc/hir/mod.rs b/src/librustc/hir/mod.rs index 5a2807ac93d8..4293019aed56 100644 --- a/src/librustc/hir/mod.rs +++ b/src/librustc/hir/mod.rs @@ -1927,6 +1927,9 @@ pub enum ArgSource { /// Represents the header (not the body) of a function declaration. #[derive(Clone, RustcEncodable, RustcDecodable, Debug, HashStable)] pub struct FnDecl { + /// The types of the function's arguments. + /// + /// Additional argument data is stored in the function's [body](Body::arguments). pub inputs: HirVec, pub output: FunctionRetTy, pub c_variadic: bool,