From 1de36cfe4cb4546a93561b28c90e99ee06f450bd Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sun, 3 Nov 2024 14:06:40 -0500 Subject: [PATCH] Fix wrong-size header in `open-file-with-context-handler` (#14067) --- .../flake8_simplify/rules/open_file_with_context_handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_linter/src/rules/flake8_simplify/rules/open_file_with_context_handler.rs b/crates/ruff_linter/src/rules/flake8_simplify/rules/open_file_with_context_handler.rs index f7aa76a35a..e108468121 100644 --- a/crates/ruff_linter/src/rules/flake8_simplify/rules/open_file_with_context_handler.rs +++ b/crates/ruff_linter/src/rules/flake8_simplify/rules/open_file_with_context_handler.rs @@ -31,7 +31,7 @@ use crate::checkers::ast::Checker; /// ... /// ``` /// -/// # References +/// ## References /// - [Python documentation: `open`](https://docs.python.org/3/library/functions.html#open) #[violation] pub struct OpenFileWithContextHandler;