auto merge of #18377 : steveklabnik/rust/fix_wording_about_errors, r=nikomatsakis

see https://github.com/rust-lang/rust/pull/18176#discussion_r19374679

/cc @eddyb @huonw @nikomatsakis
This commit is contained in:
bors 2014-10-30 17:57:09 +00:00
commit 52c3fe9533
1 changed files with 2 additions and 2 deletions

View File

@ -3527,8 +3527,8 @@ everyone plays by these rules. At compile time, it verifies that none of these
rules are broken. If our program compiles successfully, Rust can guarantee it
is free of data races and other memory errors, and there is no runtime overhead
for any of this. The borrow checker works only at compile time. If the borrow
checker did find a problem, it will report a **lifetime error**, and your
program will refuse to compile.
checker did find a problem, it will report an error and your program will
refuse to compile.
That's a lot to take in. It's also one of the _most_ important concepts in
all of Rust. Let's see this syntax in action: