diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-06-19 16:52:12 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-06-19 16:52:12 +0000 |
| commit | 689607e7a3c601a4982fb5dbddc99ee79b08a525 (patch) | |
| tree | c0e0c13d5ed6919c998b022985640d42660c16a2 | |
| parent | 3a1edd8212381d0b825a5bcb876a8f05ff3ff35a (diff) | |
| download | rust-689607e7a3c601a4982fb5dbddc99ee79b08a525.tar.gz rust-689607e7a3c601a4982fb5dbddc99ee79b08a525.zip | |
Remove duplicated comment.
| -rw-r--r-- | compiler/rustc_mir_build/src/build/mod.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_mir_build/src/build/mod.rs b/compiler/rustc_mir_build/src/build/mod.rs index 1868496f99d..49cbe3e2c9b 100644 --- a/compiler/rustc_mir_build/src/build/mod.rs +++ b/compiler/rustc_mir_build/src/build/mod.rs @@ -36,13 +36,6 @@ pub(crate) fn mir_built( tcx.alloc_steal_mir(mir_build(tcx, def)) } -/// Returns names of captured upvars for closures and generators. -/// -/// Here are some examples: -/// - `name__field1__field2` when the upvar is captured by value. -/// - `_ref__name__field` when the upvar is captured by reference. -/// -/// For generators this only contains upvars that are shared by all states. pub(crate) fn closure_saved_names_of_captured_variables<'tcx>( tcx: TyCtxt<'tcx>, def_id: LocalDefId, |
