diff options
| author | Arpad Borsos <swatinem@swatinem.de> | 2023-01-31 22:13:25 +0100 |
|---|---|---|
| committer | Arpad Borsos <swatinem@swatinem.de> | 2023-03-19 19:01:31 +0100 |
| commit | c8ead2e693a22fe94c6b3edeb3f49c7e6aec3912 (patch) | |
| tree | 07e83c69328ae2c509faba9ccb881ef55e4afc78 /src/tools/rustfmt | |
| parent | ab9bb3ea368b2412531a3e8c07ba73d1dd690134 (diff) | |
| download | rust-c8ead2e693a22fe94c6b3edeb3f49c7e6aec3912.tar.gz rust-c8ead2e693a22fe94c6b3edeb3f49c7e6aec3912.zip | |
Remove the `NodeId` of `ast::ExprKind::Async`
Diffstat (limited to 'src/tools/rustfmt')
| -rw-r--r-- | src/tools/rustfmt/src/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rustfmt/src/expr.rs b/src/tools/rustfmt/src/expr.rs index 7273402ec76..ac96bedf2fe 100644 --- a/src/tools/rustfmt/src/expr.rs +++ b/src/tools/rustfmt/src/expr.rs @@ -366,7 +366,7 @@ pub(crate) fn format_expr( )) } } - ast::ExprKind::Async(capture_by, _node_id, ref block) => { + ast::ExprKind::Async(capture_by, ref block) => { let mover = if capture_by == ast::CaptureBy::Value { "move " } else { |
