mirror of https://github.com/astral-sh/ruff
remove now-unused items
This commit is contained in:
parent
da31e138b4
commit
ccb03d3b23
|
|
@ -689,20 +689,10 @@ impl<'db> IntersectionBuilder<'db> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn order_elements(mut self, val: bool) -> Self {
|
|
||||||
self.order_elements = val;
|
|
||||||
self
|
|
||||||
}
|
|
||||||
|
|
||||||
pub(crate) fn add_positive(self, ty: Type<'db>) -> Self {
|
pub(crate) fn add_positive(self, ty: Type<'db>) -> Self {
|
||||||
self.add_positive_impl(ty, &mut vec![])
|
self.add_positive_impl(ty, &mut vec![])
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn add_positive_in_place(&mut self, ty: Type<'db>) {
|
|
||||||
let updated = std::mem::replace(self, Self::empty(self.db)).add_positive(ty);
|
|
||||||
*self = updated;
|
|
||||||
}
|
|
||||||
|
|
||||||
pub(crate) fn add_positive_impl(
|
pub(crate) fn add_positive_impl(
|
||||||
mut self,
|
mut self,
|
||||||
ty: Type<'db>,
|
ty: Type<'db>,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue