mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:22:24 +00:00
Fix =/== error in ManualDictLookup
(#3117)
This commit is contained in:
parent
ffd8e958fc
commit
817d0b4902
2 changed files with 2 additions and 28 deletions
|
@ -91,9 +91,9 @@ define_violation!(
|
|||
///
|
||||
/// ### Example
|
||||
/// ```python
|
||||
/// if x = 1:
|
||||
/// if x == 1:
|
||||
/// return "Hello"
|
||||
/// elif x = 2:
|
||||
/// elif x == 2:
|
||||
/// return "Goodbye"
|
||||
/// else:
|
||||
/// return "Goodnight"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue