mirror of https://github.com/astral-sh/ruff
Update crates/ty_python_semantic/src/types/class.rs
This commit is contained in:
parent
7116d1d3a9
commit
e73332ba1a
|
|
@ -4261,7 +4261,6 @@ pub enum KnownClass {
|
||||||
Specialization,
|
Specialization,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[salsa::tracked]
|
|
||||||
impl KnownClass {
|
impl KnownClass {
|
||||||
pub(crate) const fn is_bool(self) -> bool {
|
pub(crate) const fn is_bool(self) -> bool {
|
||||||
matches!(self, Self::Bool)
|
matches!(self, Self::Bool)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue