From 8b9c843c727de463efccafc7e012414b93458dc7 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Wed, 25 Dec 2024 20:52:17 +0300 Subject: [PATCH] Fix docs highlight in `dict_iter_missing_items.rs` (#15140) --- .../src/rules/pylint/rules/dict_iter_missing_items.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ruff_linter/src/rules/pylint/rules/dict_iter_missing_items.rs b/crates/ruff_linter/src/rules/pylint/rules/dict_iter_missing_items.rs index 5296d477efd1c..fd925ff683db1 100644 --- a/crates/ruff_linter/src/rules/pylint/rules/dict_iter_missing_items.rs +++ b/crates/ruff_linter/src/rules/pylint/rules/dict_iter_missing_items.rs @@ -33,6 +33,7 @@ use crate::checkers::ast::Checker; /// /// for city, population in data.items(): /// print(f"{city} has population {population}.") +/// ``` /// /// ## Known problems /// If the dictionary key is a tuple, e.g.: