Skip to content

Commit ff6d075

Browse files
committed
fix two comments
1 parent ea19216 commit ff6d075

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_borrowck/src/nll.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ pub(super) fn dump_nll_mir<'tcx>(
273273
regioncx.dump_graphviz_raw_constraints(&mut file)?;
274274
};
275275

276-
// Also dump the inference graph constraints as a graphviz file.
276+
// Also dump the inference graph constraints SCCs as a graphviz file.
277277
let _: io::Result<()> = try {
278278
let mut file = create_dump_file(infcx.tcx, "regioncx.scc.dot", false, "nll", &0, body)?;
279279
regioncx.dump_graphviz_scc_constraints(&mut file)?;

compiler/rustc_borrowck/src/region_infer/graphviz.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
4646
dot::render(&RawConstraints { regioncx: self }, &mut w)
4747
}
4848

49-
/// Write out the region constraint graph.
49+
/// Write out the region constraint SCC graph.
5050
pub(crate) fn dump_graphviz_scc_constraints(&self, mut w: &mut dyn Write) -> io::Result<()> {
5151
let mut nodes_per_scc: IndexVec<ConstraintSccIndex, _> =
5252
self.constraint_sccs.all_sccs().map(|_| Vec::new()).collect();

0 commit comments

Comments
 (0)