learning-rust / learning-rust.github.io

Rust Programming Language Tutorials for Everyone!
https://learning-rust.github.io
MIT License
1.48k stars 165 forks source link

Syntax error #6

Closed 0xcpu closed 6 years ago

0xcpu commented 6 years ago

I guess that in the binding of variable d in arrays you wanted to use = instead of :. As of Rust 1.23.0 this is an error.

dumindu commented 6 years ago

@cpu-00 Thanks for reporting, fixed!