Skip to content

Commit

Permalink
Update stale comment
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Oct 30, 2023
1 parent 4ff458a commit 7a35a5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/ruff_python_formatter/src/statement/suite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,7 @@ impl Format<PyFormatContext<'_>> for DocstringStmt<'_> {
]
)?;

// Comments after docstrings need a newline between the docstring and the comment, so we attach
// it as leading on the first statement after the docstring.
// Comments after docstrings need a newline between the docstring and the comment.
// (https://github.com/astral-sh/ruff/issues/7948)
// ```python
// class ModuleBrowser:
Expand Down

0 comments on commit 7a35a5a

Please sign in to comment.