mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-23 13:05:06 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue