Skip to content

Commit

Permalink
fix: use rfl instead of namedPattern rfl rfl rfl (#2276)
Browse files Browse the repository at this point in the history
`library_search` currently has a bug where it sometimes unnecessarily wraps its output in `namedPattern`.

This PR removes a usage of `namedPattern` that got introduced in #1895, presumably due to the `library_search` bug.
  • Loading branch information
dwrensha committed Feb 15, 2023
1 parent 8900560 commit c2003aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mathlib/Data/Finsupp/Fin.lean
Expand Up @@ -51,7 +51,7 @@ theorem cons_zero : cons y s 0 = y :=
@[simp]
theorem cons_succ : cons y s i.succ = s i :=
-- porting notes: was Fin.cons_succ _ _ _
namedPattern rfl rfl rfl
rfl
#align finsupp.cons_succ Finsupp.cons_succ

@[simp]
Expand Down

0 comments on commit c2003aa

Please sign in to comment.