Complete the code to print "Hello, Rust!" using the Rust toolchain.
fn main() {
println!([1]);
}The println! macro requires a string literal inside double quotes to print text.
Complete the command to build a Rust project using Cargo.
cargo [1]cargo run when only building is needed.cargo new which creates a new project.The cargo build command compiles the current Rust project.
Fix the error in the Cargo.toml file to specify the Rust edition.
[package] name = "my_project" version = "0.1.0" edition = [1]
The edition value in Cargo.toml must be a string inside double quotes, like "2021".
Fill both blanks to create a new Rust project and navigate into its directory.
cargo [1] my_app cd [2]
cargo build instead of cargo new to create a project.cd into a folder that does not exist yet.cargo new my_app creates a new project folder named my_app. Then cd my_app moves into that folder.
Fill all three blanks to run tests, clean build files, and update Rust toolchain.
cargo [1] cargo [2] rustup [3]
cargo clean with cargo build.rustup upgrade which is not a valid command.cargo test runs tests, cargo clean removes build files, and rustup update updates Rust to the latest version.