Skip to content

Commit 0bda9e4

Browse files
authored
Add array-init crate (#12)
1 parent 516e90b commit 0bda9e4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

data/array-init.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
description = """
2+
`core::array::from_fn` (stable since Rust 1.63) builds a fixed-size array from \
3+
an index closure. The fallible variant (`try_from_fn`) is unstable, and the \
4+
crate's iterator-based constructors (`from_iter`) have no `std` equivalent yet.
5+
"""
6+
url = "https://doc.rust-lang.org/std/array/fn.from_fn.html"

0 commit comments

Comments
 (0)