mention hir::Body in docs for hir::FnDecl

This commit is contained in:
Andy Russell 2019-05-02 14:03:33 -04:00
parent 69fd757eca
commit bbe7b85ef1
No known key found for this signature in database
GPG key ID: BE2221033EDBC374

View file

@ -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<Ty>,
pub output: FunctionRetTy,
pub c_variadic: bool,