diff options
| author | Elliot Roberts <Elliot0000101@gmail.com> | 2022-05-06 00:17:02 -0700 |
|---|---|---|
| committer | Elliot Roberts <Elliot0000101@gmail.com> | 2022-05-06 00:17:02 -0700 |
| commit | 647d0b6dd3008b2d9d3a57a914bd1487da9133cf (patch) | |
| tree | fb22f944eb0f7564845f1843bce5c9ab46a28077 | |
| parent | 7907385999b4a83d37ed31d334f3ed9ca02983a1 (diff) | |
fix unmatched braces
| -rw-r--r-- | compiler/rustc_typeck/src/check/upvar.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_typeck/src/check/upvar.rs b/compiler/rustc_typeck/src/check/upvar.rs index cac9899ecd4..3585bce4dc2 100644 --- a/compiler/rustc_typeck/src/check/upvar.rs +++ b/compiler/rustc_typeck/src/check/upvar.rs @@ -488,6 +488,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { /// path_expr_id: hir_id_L4, /// capture_kind: ByValue /// }, + /// } /// ``` /// /// After the min capture analysis, we get: @@ -507,6 +508,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { /// capture_kind: ByValue /// }, /// ], + /// } /// ``` fn compute_min_captures( &self, |
