Skip to content

Commit

Permalink
Fix =/== error in ManualDictLookup (#3117)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupt committed Feb 22, 2023
1 parent ffd8e95 commit 817d0b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
4 changes: 2 additions & 2 deletions crates/ruff/src/rules/flake8_simplify/rules/ast_if.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
26 changes: 0 additions & 26 deletions docs/rules/if-to-dict.md

This file was deleted.

0 comments on commit 817d0b4

Please sign in to comment.