rust-lang/rust-by-example

Syntax error in Vector example 2

swright-gaggle opened this issue · 1 comments

I think the second example on this page has a syntax error.

let mut xs = vec![1i32, 2, 3];

Should be:

let mut xs = vec![1, 2, 3];

It's a totally valid way to define values on a vec @swright-gaggle .