diff --git a/crates/ruff_python_formatter/src/lib.rs b/crates/ruff_python_formatter/src/lib.rs index 34699c5800228..92e404d15cb66 100644 --- a/crates/ruff_python_formatter/src/lib.rs +++ b/crates/ruff_python_formatter/src/lib.rs @@ -41,7 +41,7 @@ include!("../../ruff_formatter/shared_traits.rs"); /// 'ast is the lifetime of the source code (input), 'buf is the lifetime of the buffer (output) pub(crate) type PyFormatter<'ast, 'buf> = Formatter<'buf, PyFormatContext<'ast>>; -/// Rule for formatting a JavaScript [`AstNode`]. +/// Rule for formatting a Python [`AstNode`]. pub(crate) trait FormatNodeRule where N: AstNode,