We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 212b0d4 commit bd16cd4Copy full SHA for bd16cd4
1 file changed
compiler/rustc_mir_transform/src/copy_prop.rs
@@ -58,7 +58,8 @@ impl<'tcx> crate::MirPass<'tcx> for CopyProp {
58
}
59
60
61
-/// Utility to help performing substitution of `*pattern` by `target`.
+/// Utility to help performing substitution: for all key-value pairs in `copy_classes`,
62
+/// all occurrences of the key get replaced by the value.
63
struct Replacer<'a, 'tcx> {
64
tcx: TyCtxt<'tcx>,
65
unified: DenseBitSet<Local>,
0 commit comments