]> git.lizzy.rs Git - rust.git/blobdiff - src/doc/guide.md
auto merge of #18377 : steveklabnik/rust/fix_wording_about_errors, r=nikomatsakis
[rust.git] / src / doc / guide.md
index 53ed2af9cd9aa30694f41c936e6e4c5903d2b7ee..ac8a2e23ae6e18eaa214a1b69f4258da87a0862c 100644 (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: