Skip to content

Commit 13e4dae

Browse files
committed
Fix some wording about errors
see #18176 (comment)
1 parent e2cd459 commit 13e4dae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3510,8 +3510,8 @@ everyone plays by these rules. At compile time, it verifies that none of these
35103510
rules are broken. If our program compiles successfully, Rust can guarantee it
35113511
is free of data races and other memory errors, and there is no runtime overhead
35123512
for any of this. The borrow checker works only at compile time. If the borrow
3513-
checker did find a problem, it will report a **lifetime error**, and your
3514-
program will refuse to compile.
3513+
checker did find a problem, it will report an error and your program will
3514+
refuse to compile.
35153515

35163516
That's a lot to take in. It's also one of the _most_ important concepts in
35173517
all of Rust. Let's see this syntax in action:

0 commit comments

Comments
 (0)