about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/dataflow.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-10-04 10:24:34 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-11-04 17:36:25 +1100
commitbf1a5c2b7f1f54c94ab2dfdcf4cb7d4fb220b0b3 (patch)
tree18cd9fb581f13929a55534af2d305cd6dab7b249 /compiler/rustc_borrowck/src/dataflow.rs
parentad875529bf792069350ae3899daa2102f247837b (diff)
downloadrust-bf1a5c2b7f1f54c94ab2dfdcf4cb7d4fb220b0b3.tar.gz
rust-bf1a5c2b7f1f54c94ab2dfdcf4cb7d4fb220b0b3.zip
Tidy up comments and some formatting.
Mostly by wrapping overly long comment lines, plus a few other things.
Diffstat (limited to 'compiler/rustc_borrowck/src/dataflow.rs')
-rw-r--r--compiler/rustc_borrowck/src/dataflow.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_borrowck/src/dataflow.rs b/compiler/rustc_borrowck/src/dataflow.rs
index 89ff12c1479..d832decc170 100644
--- a/compiler/rustc_borrowck/src/dataflow.rs
+++ b/compiler/rustc_borrowck/src/dataflow.rs
@@ -254,8 +254,8 @@ impl<'tcx> PoloniusOutOfScopePrecomputer<'_, 'tcx> {
         let sccs = self.regioncx.constraint_sccs();
         let universal_regions = self.regioncx.universal_regions();
 
-        // We first handle the cases where the loan doesn't go out of scope, depending on the issuing
-        // region's successors.
+        // We first handle the cases where the loan doesn't go out of scope, depending on the
+        // issuing region's successors.
         for successor in graph::depth_first_search(&self.regioncx.region_graph(), issuing_region) {
             // 1. Via applied member constraints
             //