microsoft / vscode-remote-try-rust

Rust sample project for trying out Dev Containers
https://aka.ms/vscode-remote/containers/getting-started
MIT License
282 stars 150 forks source link

specify edition "2018" in Cargo.toml #11

Closed NewGyu closed 2 years ago

NewGyu commented 3 years ago

Hello, I'm a rust beginer. vscode-remote-containers is so useful, I love it.

I'm learning rust-lang according to the official tutorial. https://doc.rust-lang.org/book/ch02-00-guessing-game-tutorial.html

I started programing based on this repository because I love VSCode + remote container, but unresolved import error was occurred when adding use rand::Rng;. It was required to specify extern crate when edition is omitted in Cargo.toml.

I think It is good that edition "2018" is specified in Cargo.toml for the developers who try rust-lang with this remote-containers source code example.

Thank you.

ghost commented 3 years ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

:x: NewGyu sign now
You have signed the CLA already but the status is still pending? Let us recheck it.