Chapter 2First Steps with Rust
In the previous chapter, you installed Rust, set up a comfortable development environment, and examined the “Hello, World” program. This chapter pushes you further into Rust development as you build a program designed to assist your security team at a swanky new treehouse. In building this program, you’ll learn to accept input from the keyboard, store data in variables, store collections of variables in arrays and vectors, and begin to learn the power of Rust iterators and enumerations.
It’s going to be a whirlwind tour as this chapter introduces a lot of concepts, but hang in there—you’re in for a real treat. (And don’t worry if you don’t remember everything you read here; the more you use Rust, the more you’ll ...
Get Hands-on Rust now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.