From 647d0b6dd3008b2d9d3a57a914bd1487da9133cf Mon Sep 17 00:00:00 2001 From: Elliot Roberts Date: Fri, 6 May 2022 00:17:02 -0700 Subject: [PATCH] fix unmatched braces --- compiler/rustc_typeck/src/check/upvar.rs | 2 ++ 1 file changed, 2 insertions(+) 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,