From 395cdf04e519ca516b7f9822effd9275ea12ea7d Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 12 Jan 2024 09:00:44 +0000 Subject: [PATCH] Fix backticks in RUF021 docs (#9488) The docs for this rule aren't generating properly: https://docs.astral.sh/ruff/rules/parenthesize-chained-operators/#why-is-this-bad. I assume this is the reason why! --- .../src/rules/ruff/rules/parenthesize_logical_operators.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_linter/src/rules/ruff/rules/parenthesize_logical_operators.rs b/crates/ruff_linter/src/rules/ruff/rules/parenthesize_logical_operators.rs index 4a96af1cdf4a3..04e140bf360bf 100644 --- a/crates/ruff_linter/src/rules/ruff/rules/parenthesize_logical_operators.rs +++ b/crates/ruff_linter/src/rules/ruff/rules/parenthesize_logical_operators.rs @@ -32,7 +32,7 @@ use crate::checkers::ast::Checker; /// /// d, e, f = 0, 1, 2 /// y = (d and e) or f -/// ```` +/// ``` #[violation] pub struct ParenthesizeChainedOperators;