]> git.lizzy.rs Git - rust.git/commitdiff
Fix some wording about errors
authorSteve Klabnik <steve@steveklabnik.com>
Mon, 27 Oct 2014 19:51:17 +0000 (15:51 -0400)
committerSteve Klabnik <steve@steveklabnik.com>
Mon, 27 Oct 2014 19:51:52 +0000 (15:51 -0400)
see https://github.com/rust-lang/rust/pull/18176#discussion_r19374679

src/doc/guide.md

index c7b8e42b28cde24c6f10f488cb32c14910d01e2b..3941327f5f2273a9c883ba1faa51f8b957c76e7a 100644 (file)
@@ -3510,8 +3510,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: