Skip to content

Commit 9bbb0a5

Browse files
authored
Fix typo in documentation (#5961)
## Summary Close unclosed inline code block that was causing the text not to render properly. ## Test Plan `mkdocs serve`
1 parent f1f89f2 commit 9bbb0a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff/src/rules/pylint/rules/repeated_equality_comparison_target.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use crate::checkers::ast::Checker;
1919
/// ## Why is this bad?
2020
/// To check if a variable is equal to one of many values, it is common to
2121
/// write a series of equality comparisons (e.g.,
22-
/// `foo == "bar" or foo == "baz").
22+
/// `foo == "bar" or foo == "baz"`).
2323
///
2424
/// Instead, prefer to combine the values into a collection and use the `in`
2525
/// operator to check for membership, which is more performant and succinct.

0 commit comments

Comments
 (0)