doc: fix typo in List.finIdxOf? (#11111)

This PR fixes a typo in the doc string of `List.finIdxOf?`. The first
line of the doc string previously says the function returns the size of
the list if no element equal to `a`, but both the examples in the doc
string and real run-time behavior indicate it returns `none` in this
case.

Closes #11110
This commit is contained in:
Benjamin Shi 2025-11-10 18:04:07 +08:00 committed by GitHub
parent 6008c0d523
commit ecae85e77b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1295,7 +1295,7 @@ decreasing_by simp_wf; decreasing_trivial_pre_omega
/--
Returns the index of the first element equal to `a`, or the size of the array if no element is equal
Returns the index of the first element equal to `a`, or `none` if no element is equal
to `a`. The index is returned as a `Fin`, which guarantees that it is in bounds.
Examples: