We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Since Haskell's [1 .. 10] is not (yet) implemented in Rust and i read about ranges, i tried
let a = [1 to 10];
this gives the baffling error message
error: expecting ,, found to
A more readable version would be
error: expecting "," but found "to"