Skip to content

Commit

Permalink
docs(FunLike/Fintype): fix typo in doc comments (#11402)
Browse files Browse the repository at this point in the history
The non-dependent version of `DFunLike.{fintype,finite}` is called `FunLike.{fintype,finite}`; the names in the docstring do not exist.
  • Loading branch information
grunweg committed Mar 16, 2024
1 parent a81a438 commit 14b7f74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Mathlib/Data/FunLike/Fintype.lean
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ This corresponds to the following two pairs of declarations:
codomain are.
* `DFunLike.finite` is a lemma stating all `DFunLike`s are finite if their domain and
codomain are.
* `DFunLike.fintype'` is a non-dependent version of `DFunLike.fintype` and
* `DFunLike.finite` is a non-dependent version of `DFunLike.finite`, because dependent instances
* `FunLike.fintype` is a non-dependent version of `DFunLike.fintype` and
* `FunLike.finite` is a non-dependent version of `DFunLike.finite`, because dependent instances
are harder to infer.
You can use these to produce instances for specific `DFunLike` types.
Expand Down

0 comments on commit 14b7f74

Please sign in to comment.