mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 05:20:49 -05:00
[ty] Classify cls as class parameter (#21944)
This commit is contained in:
@@ -119,7 +119,7 @@ impl<'db> SubclassOfType<'db> {
|
||||
subclass_of.is_type_var()
|
||||
}
|
||||
|
||||
pub(crate) const fn into_type_var(self) -> Option<BoundTypeVarInstance<'db>> {
|
||||
pub const fn into_type_var(self) -> Option<BoundTypeVarInstance<'db>> {
|
||||
self.subclass_of.into_type_var()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user