3 ms·Or declare the type of bool_arr.by _nalply 3y agoOr declare the type of bool_arr.kibwen 3y agoIndeed, in which case it looks much cleaner than specifying the length via the turbofish: let bool_arr: [bool; 5] = ...crznp 3y agoThat's true. As a relative novice to Rust, I'm familiar with array types, but I'd need to look up `from_fn`