From c6920d4a2ee0f282addaf8f6945cefe3ef7bdf09 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 4 Nov 2016 08:53:57 -0700 Subject: [PATCH] Copyediting intro --- src/ch01-00-introduction.md | 22 +++++++++---------- ...-00-common-programming-concepts-in-rust.md | 7 +++--- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/src/ch01-00-introduction.md b/src/ch01-00-introduction.md index 065617a1a..23cee2413 100644 --- a/src/ch01-00-introduction.md +++ b/src/ch01-00-introduction.md @@ -3,19 +3,19 @@ Welcome to “The Rust Programming Language,” an introductory book about Rust. Rust is a programming language that’s focused on safety, speed, and concurrency. Its design lets you create programs that have the performance and -control of a low-level language, but with helpful abstractions that feel like a -high-level language. The Rust community welcomes all programmers who have their -experience in languages like C and are looking for a safer alternative, as well -as programmers from languages like Python who are looking for ways to write -code that performs better without losing expressiveness. +control of a low-level language, but with the powerful abstractions of a +high-level language. These properties make Rust suitable for programmers who +have experience in languages like C and are looking for a safer alternative, as +well as those from languages like Python who are looking for ways to write code +that performs better without sacrificing expressiveness. Rust performs the majority of its safety checks and memory management decisions -at compile time, so that your program's runtime isn't impacted. This makes it -useful in a number of use cases that other languages aren’t good at: embedding -in other languages, programs with specific space and time requirements, and -writing low-level code, like device drivers and operating systems. It's also -great for web applications: it powers the Rust package registry site, crates.io! -We're excited to see what *you* create with Rust. +at compile time, so that your program's runtime performance isn't impacted. This +makes it useful in a number of use cases that other languages aren’t good at: +programs with predictable space and time requirements, embedding in other +languages, and writing low-level code, like device drivers and operating +systems. It's also great for web applications: it powers the Rust package +registry site, crates.io! We're excited to see what *you* create with Rust. This book is written for a reader who already knows how to program in at least one programming language. After reading this book, you should be comfortable diff --git a/src/ch03-00-common-programming-concepts-in-rust.md b/src/ch03-00-common-programming-concepts-in-rust.md index 1b146bc4e..997833188 100644 --- a/src/ch03-00-common-programming-concepts-in-rust.md +++ b/src/ch03-00-common-programming-concepts-in-rust.md @@ -1,10 +1,9 @@ # Common Programming Concepts in Rust Let’s first look at concepts that appear in almost every programming language -and see how they work in Rust. Many programming languages have much in common -at their core. None of the concepts presented in this chapter are unique to -Rust, but we’ll discuss Rust’s particular syntax and conventions concerning -these common concepts. +and see how they work in Rust. Many programming languages have much in common at +their core. None of the concepts presented in this chapter are unique to Rust, +but we’ll discuss them in the context of Rust and explain their conventions. Specifically, we’ll be talking about variables, basic types, functions, comments, and control flow. These foundations will be in every Rust