Skip to content

Commit

Permalink
Fix typo in ruff_python_formatter documentation (astral-sh#6687)
Browse files Browse the repository at this point in the history
## Summary

In the documentation was written `Javascript` but we are working with
`Python` here :)

## Test Plan

n/a
  • Loading branch information
LaBatata101 authored Aug 18, 2023
1 parent 053b114 commit 59e5330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ruff_python_formatter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 59e5330

Please sign in to comment.