rust: use arrays instead of vec where possible

Now that [T; N] supports IntoIterator, some vec! usages can be removed.

Merge request reports

Loading