Skip to content

Commit bbe7b85

Browse files
committed
mention hir::Body in docs for hir::FnDecl
1 parent 69fd757 commit bbe7b85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustc/hir/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1927,6 +1927,9 @@ pub enum ArgSource {
19271927
/// Represents the header (not the body) of a function declaration.
19281928
#[derive(Clone, RustcEncodable, RustcDecodable, Debug, HashStable)]
19291929
pub struct FnDecl {
1930+
/// The types of the function's arguments.
1931+
///
1932+
/// Additional argument data is stored in the function's [body](Body::arguments).
19301933
pub inputs: HirVec<Ty>,
19311934
pub output: FunctionRetTy,
19321935
pub c_variadic: bool,

0 commit comments

Comments
 (0)