From 59e533047a3470a043cdc3b649b768901f8a7aad Mon Sep 17 00:00:00 2001 From: Victor Hugo Gomes Date: Fri, 18 Aug 2023 20:16:09 -0300 Subject: [PATCH] Fix typo in `ruff_python_formatter` documentation (#6687) ## Summary In the documentation was written `Javascript` but we are working with `Python` here :) ## Test Plan n/a --- crates/ruff_python_formatter/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,