Skip to content

Commit 689607e

Browse files
committed
Remove duplicated comment.
1 parent 3a1edd8 commit 689607e

File tree

1 file changed

+0
-7
lines changed
  • compiler/rustc_mir_build/src/build

1 file changed

+0
-7
lines changed

compiler/rustc_mir_build/src/build/mod.rs

-7
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ pub(crate) fn mir_built(
3636
tcx.alloc_steal_mir(mir_build(tcx, def))
3737
}
3838

39-
/// Returns names of captured upvars for closures and generators.
40-
///
41-
/// Here are some examples:
42-
/// - `name__field1__field2` when the upvar is captured by value.
43-
/// - `_ref__name__field` when the upvar is captured by reference.
44-
///
45-
/// For generators this only contains upvars that are shared by all states.
4639
pub(crate) fn closure_saved_names_of_captured_variables<'tcx>(
4740
tcx: TyCtxt<'tcx>,
4841
def_id: LocalDefId,

0 commit comments

Comments
 (0)