Skip to content

Commit

Permalink
Update crates/ruff_python_formatter/src/comments/placement.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Micha Reiser <micha@reiser.io>
  • Loading branch information
konstin and MichaReiser authored Jul 7, 2023
1 parent 519076c commit 1b825b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ruff_python_formatter/src/comments/placement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ fn handle_attribute_comment<'a>(
/// )
/// ```
///
/// This placement ensures comments remain in their previous order. This an edge case that only
/// This placement ensures comments remain in their previous order. This edge case only
/// happens if the comments are in a weird position but it also doesn't hurt handling it.
fn handle_expr_if_comment<'a>(
comment: DecoratedComment<'a>,
Expand Down

0 comments on commit 1b825b5

Please sign in to comment.