Skip to content

Commit e43096f

Browse files
committed
[nit] remove outdated comment
1 parent 0d918a8 commit e43096f

File tree

1 file changed

+0
-2
lines changed
  • src/librustc_mir/borrow_check/nll/region_infer

1 file changed

+0
-2
lines changed

src/librustc_mir/borrow_check/nll/region_infer/values.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,6 @@ impl<N: Idx> RegionValues<N> {
259259
/// True if `sup_region` contains all the CFG points that
260260
/// `sub_region` contains. Ignores universal regions.
261261
crate fn contains_points(&self, sup_region: N, sub_region: N) -> bool {
262-
// This could be done faster by comparing the bitsets. But I
263-
// am lazy.
264262
if let Some(sub_row) = self.points.row(sub_region) {
265263
if let Some(sup_row) = self.points.row(sup_region) {
266264
sup_row.contains_all(sub_row)

0 commit comments

Comments
 (0)