diff --git a/crates/ruff_linter/src/rules/pylint/rules/too_many_public_methods.rs b/crates/ruff_linter/src/rules/pylint/rules/too_many_public_methods.rs index 7e7c113d80..6679341a54 100644 --- a/crates/ruff_linter/src/rules/pylint/rules/too_many_public_methods.rs +++ b/crates/ruff_linter/src/rules/pylint/rules/too_many_public_methods.rs @@ -9,8 +9,8 @@ use crate::checkers::ast::Checker; /// ## What it does /// Checks for classes with too many public methods /// -/// By default, this rule allows up to 20 statements, as configured by the -/// [`pylint.max-public-methods`] option. +/// By default, this rule allows up to 20 public methods, as configured by +/// the [`pylint.max-public-methods`] option. /// /// ## Why is this bad? /// Classes with many public methods are harder to understand