Skip to content

Commit

Permalink
chore: fix explicitness of Option.mem_toList (#5539)
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em authored Sep 30, 2024
1 parent db79d9e commit 6bd0d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Init/Data/Option/List.lean
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Init.Data.List.Lemmas

namespace Option

@[simp] theorem mem_toList (a : α) (o : Option α) : a ∈ o.toList ↔ a ∈ o := by
@[simp] theorem mem_toList {a : α} {o : Option α} : a ∈ o.toList ↔ a ∈ o := by
cases o <;> simp [eq_comm]

end Option

0 comments on commit 6bd0d9d

Please sign in to comment.