chore: adjust stdlib to recent changes

This commit is contained in:
Leonardo de Moura 2021-05-06 15:43:56 -07:00
parent 7a7ba648d5
commit 8e81f03e3a
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@ theorem mod_lt (x : Nat) {y : Nat} : y > 0 → x % y < y := by
exact hgt
| ind x y h h₂ =>
intro h₃
let ⟨_, h₁⟩ := h
have ⟨_, h₁⟩ := h
rw [mod_eq_sub_mod h₁]
exact h₂ h₃

View file

@ -166,7 +166,7 @@ partial instance : ToJson DocumentSymbol where
toJson :=
let rec go
| DocumentSymbol.mk sym =>
have ToJson DocumentSymbol := ⟨go⟩
have ToJson DocumentSymbol from ⟨go⟩
toJson sym
go