Skip to content

Commit

Permalink
auto merge of #18377 : steveklabnik/rust/fix_wording_about_errors, r=…
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Oct 30, 2014
2 parents 301ed5e + 13e4dae commit 52c3fe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 52c3fe9

Please sign in to comment.