From 1b825b5ee92338116d797ea59191cfb971447e58 Mon Sep 17 00:00:00 2001 From: konsti Date: Fri, 7 Jul 2023 20:57:09 +0200 Subject: [PATCH] Update crates/ruff_python_formatter/src/comments/placement.rs Co-authored-by: Micha Reiser --- crates/ruff_python_formatter/src/comments/placement.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_python_formatter/src/comments/placement.rs b/crates/ruff_python_formatter/src/comments/placement.rs index 92f0fde917086f..206ac275c436b0 100644 --- a/crates/ruff_python_formatter/src/comments/placement.rs +++ b/crates/ruff_python_formatter/src/comments/placement.rs @@ -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>,