Skip to content

Commit 0f4350e

Browse files
Fix a typo in class.rs (#14877)
(Accidentally introduced in #14801.)
1 parent aa6b812 commit 0f4350e

File tree

1 file changed

+1
-1
lines changed
  • crates/ruff_python_semantic/src/analyze

1 file changed

+1
-1
lines changed

crates/ruff_python_semantic/src/analyze/class.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ pub fn is_metaclass(class_def: &ast::StmtClassDef, semantic: &SemanticModel) ->
172172
}
173173
}
174174

175-
/// Returns true if a class might generic.
175+
/// Returns true if a class might be generic.
176176
///
177177
/// A class is considered generic if at least one of its direct bases
178178
/// is subscripted with a `TypeVar`-like,

0 commit comments

Comments
 (0)