mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-24 13:34:40 +00:00
Update pre-commit dependencies (#14719)
This commit is contained in:
parent
02d1e6a94a
commit
5a67d3269b
7 changed files with 13 additions and 13 deletions
|
@ -297,7 +297,7 @@ in `placement.rs`, which this section is about.
|
|||
```
|
||||
|
||||
Here, the comment is dangling because it is preceded by `[`, which is a non-trivia token but not a
|
||||
node, and followed by `]`, which is also a non-trivia token but not a node. In the `FormatExprList`
|
||||
node, and followed by `]`, which is also a non-trivia token but not a node. In the `FormatExprList`
|
||||
implementation, we have to call `dangling_comments` manually and stub out the
|
||||
`fmt_dangling_comments` default from `FormatNodeRule`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue