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
This commit is contained in:
Victor Hugo Gomes 2023-08-18 20:16:09 -03:00 committed by GitHub
parent 053b1145f0
commit 59e533047a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<N>
where
N: AstNode,