Skip to content

Commit 658a51e

Browse files
authoredNov 1, 2024
Fix typo for static method decorator (#14038)
1 parent 7c2da4f commit 658a51e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎crates/ruff_linter/src/rules/flake8_unused_arguments/rules/unused_arguments.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ impl Violation for UnusedClassMethodArgument {
129129
/// Use instead:
130130
/// ```python
131131
/// class Class:
132-
/// @static
132+
/// @staticmethod
133133
/// def foo(arg1):
134134
/// print(arg1)
135135
/// ```

0 commit comments

Comments
 (0)