Skip to content

Commit

Permalink
mention hir::Body in docs for hir::FnDecl
Browse files Browse the repository at this point in the history
  • Loading branch information
euclio committed May 2, 2019
1 parent 69fd757 commit bbe7b85
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/librustc/hir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bbe7b85

Please sign in to comment.