From d0709093fe3db15853b3e4387fbddbb6a39d579a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20N=C3=A4slund?= Date: Mon, 27 Jan 2025 04:25:29 +0100 Subject: [PATCH] Fix docstring in ruff_annotate_snippets (#15748) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Found a comment that looks to be intended as docstring but accidentally is just a normal comment. Didn't create an issue as the readme said it's not neccessary for trivial changes. ## Test Plan Can be tested by regenerating the docs. Co-authored-by: Marcus Näslund --- crates/ruff_annotate_snippets/src/renderer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_annotate_snippets/src/renderer/mod.rs b/crates/ruff_annotate_snippets/src/renderer/mod.rs index 177ffb9ab1..0ea77b98c3 100644 --- a/crates/ruff_annotate_snippets/src/renderer/mod.rs +++ b/crates/ruff_annotate_snippets/src/renderer/mod.rs @@ -100,7 +100,7 @@ impl Renderer { self } - // Set the terminal width + /// Set the terminal width pub const fn term_width(mut self, term_width: usize) -> Self { self.term_width = term_width; self