Fix a typo in class.rs (#14877)

(Accidentally introduced in #14801.)
This commit is contained in:
InSync 2024-12-09 22:36:42 +07:00 committed by GitHub
parent aa6b812a73
commit 0f4350e10e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -172,7 +172,7 @@ pub fn is_metaclass(class_def: &ast::StmtClassDef, semantic: &SemanticModel) ->
}
}
/// Returns true if a class might generic.
/// Returns true if a class might be generic.
///
/// A class is considered generic if at least one of its direct bases
/// is subscripted with a `TypeVar`-like,