diff options
| author | Oliver Schneider <github35764891676564198441@oli-obk.de> | 2018-06-27 11:24:50 +0200 |
|---|---|---|
| committer | Oliver Schneider <github35764891676564198441@oli-obk.de> | 2018-06-27 11:24:50 +0200 |
| commit | a85b27915fe8d7b077535cd3fd8a7e1bafb1469d (patch) | |
| tree | 0c43a13d1706720d016321d6f61c9eee2d95441e | |
| parent | a1f6a613f5236404f52bab95d20f2fb5a76132cb (diff) | |
| download | rust-a85b27915fe8d7b077535cd3fd8a7e1bafb1469d.tar.gz rust-a85b27915fe8d7b077535cd3fd8a7e1bafb1469d.zip | |
Document the `make_ret_async` argument's `NodeId`
| -rw-r--r-- | src/librustc/hir/lowering.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc/hir/lowering.rs b/src/librustc/hir/lowering.rs index 50fd8e01580..bf3b377b52d 100644 --- a/src/librustc/hir/lowering.rs +++ b/src/librustc/hir/lowering.rs @@ -1870,7 +1870,8 @@ impl<'a> LoweringContext<'a> { // This guards against trait declarations and implementations where impl Trait is // disallowed. // make_ret_async: if `Some`, converts `-> T` into `-> impl Future<Output = T>` in the - // return type. This is used for `async fn` declarations. + // return type. This is used for `async fn` declarations. The `NodeId` is the id of the + // return type impl Trait item. fn lower_fn_decl( &mut self, decl: &FnDecl, |
