diff options
| author | Andy Russell <arussell123@gmail.com> | 2019-05-02 14:03:33 -0400 |
|---|---|---|
| committer | Andy Russell <arussell123@gmail.com> | 2019-05-02 15:52:27 -0400 |
| commit | bbe7b85ef154dad5c7e17e7dc00895ec3bfcd189 (patch) | |
| tree | 97e23a2690c9b79083e55a548b64b9f8d9282766 /src | |
| parent | 69fd757eca778cb3b83ccfc9fcfae4c6b839f8e6 (diff) | |
| download | rust-bbe7b85ef154dad5c7e17e7dc00895ec3bfcd189.tar.gz rust-bbe7b85ef154dad5c7e17e7dc00895ec3bfcd189.zip | |
mention `hir::Body` in docs for `hir::FnDecl`
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/hir/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc/hir/mod.rs b/src/librustc/hir/mod.rs index 5a2807ac93d..4293019aed5 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<Ty>, pub output: FunctionRetTy, pub c_variadic: bool, |
