
Rust Documentation: Chapter 2
Programming a Guessing Game 🎲 In the previous chapter, we learned about the basics of Rust. In this chapter, we will learn about the basics of Rust by building a simple guessing game. Setting up the project We will use the Cargo package manager to create a new project called guessing_game. We can create a new project using the following command: cargo new guessing_game This creates a new project called guessing_game in the current directory....