Function array_fabric
Source fn array_fabric(values: &[Expr], spread: Option<Span>) -> ArrayLit
Expand description
Creates an ArrayLit with a spread.
§Arguments
values - The values to include in the array literal
spread - The span of the spread
§Example
ⓘlet array_lit = array_fabric(vec![expr1, expr2, expr3], Some(DUMMY_SP));