diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-05-07 20:02:19 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2018-05-09 23:21:24 -0300 |
| commit | 434d59a2c960dee2a17ae2625c8844986d580d7e (patch) | |
| tree | d1bb1034d1e2be251611893bdecc266cae46bcb1 /src/librustc_data_structures | |
| parent | 964e0691be3262d4864aa5d97e9dd6cecf806484 (diff) | |
| download | rust-434d59a2c960dee2a17ae2625c8844986d580d7e.tar.gz rust-434d59a2c960dee2a17ae2625c8844986d580d7e.zip | |
ignore the point where the outlives requirement was added
Diffstat (limited to 'src/librustc_data_structures')
| -rw-r--r-- | src/librustc_data_structures/bitvec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/bitvec.rs b/src/librustc_data_structures/bitvec.rs index 7231fe43172..a22dd1fecec 100644 --- a/src/librustc_data_structures/bitvec.rs +++ b/src/librustc_data_structures/bitvec.rs @@ -326,7 +326,7 @@ impl<R: Idx, C: Idx> SparseBitMatrix<R, C> { } /// True if `sub` is a subset of `sup` - pub fn subset(&self, sub: R, sup: R) -> bool { + pub fn is_subset(&self, sub: R, sup: R) -> bool { sub == sup || { let bit_set_sub = &self.vector[sub]; let bit_set_sup = &self.vector[sup]; |
