We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d918a8 commit e43096fCopy full SHA for e43096f
src/librustc_mir/borrow_check/nll/region_infer/values.rs
@@ -259,8 +259,6 @@ impl<N: Idx> RegionValues<N> {
259
/// True if `sup_region` contains all the CFG points that
260
/// `sub_region` contains. Ignores universal regions.
261
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.
264
if let Some(sub_row) = self.points.row(sub_region) {
265
if let Some(sup_row) = self.points.row(sup_region) {
266
sup_row.contains_all(sub_row)
0 commit comments