mirror of https://github.com/astral-sh/ruff
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:
parent
053b1145f0
commit
59e533047a
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue