From 0f4350e10ec71cdad8d42a52156b05284fc0b20f Mon Sep 17 00:00:00 2001 From: InSync Date: Mon, 9 Dec 2024 22:36:42 +0700 Subject: [PATCH] Fix a typo in `class.rs` (#14877) (Accidentally introduced in #14801.) --- crates/ruff_python_semantic/src/analyze/class.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_python_semantic/src/analyze/class.rs b/crates/ruff_python_semantic/src/analyze/class.rs index 64e49421a7330..bcdaf5cbe0e00 100644 --- a/crates/ruff_python_semantic/src/analyze/class.rs +++ b/crates/ruff_python_semantic/src/analyze/class.rs @@ -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,