Skip to content

Commit

Permalink
chore: remove unnecessary private Inhabited instance (#5846)
Browse files Browse the repository at this point in the history
Since `partial` inhabitation is stronger in #5821, this private instance
is no longer needed.
  • Loading branch information
kmill authored Oct 25, 2024
1 parent abe6d5b commit 4068cf0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Lean/Meta/DiscrTree.lean
Original file line number Diff line number Diff line change
Expand Up @@ -767,9 +767,6 @@ where

namespace Trie

-- `Inhabited` instance to allow `partial` definitions below.
private local instance [Monad m] : Inhabited (σ → β → m σ) := ⟨fun s _ => pure s⟩

/--
Monadically fold the keys and values stored in a `Trie`.
-/
Expand Down

0 comments on commit 4068cf0

Please sign in to comment.