]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #100462 - zohnannor:master, r=thomcc
authorMichael Howell <michael@notriddle.com>
Sun, 23 Oct 2022 21:48:13 +0000 (14:48 -0700)
committerGitHub <noreply@github.com>
Sun, 23 Oct 2022 21:48:13 +0000 (14:48 -0700)
commitacc269d65b9dd41a0a3c74e5c528b6e65e193e58
tree8af54ee241ba9de8358a79b2bc99fab84f0e3428
parent7fcf850d7942804990a1d2e3fe036622a0fe4c74
parent289ad1ac3882135fd3bc1387536978248dead9da
Rollup merge of #100462 - zohnannor:master, r=thomcc

Clarify `array::from_fn` documentation

I've seen quite a few of people on social media confused of where the length of array is coming from in the newly stabilized `array::from_fn` example.

This PR tries to clarify the documentation on this.
library/core/src/array/mod.rs