Skip to content

Commit 52c3fe9

Browse files
committed
auto merge of #18377 : steveklabnik/rust/fix_wording_about_errors, r=nikomatsakis
see #18176 (comment) /cc @eddyb @huonw @nikomatsakis
2 parents 301ed5e + 13e4dae commit 52c3fe9

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
@@ -3527,8 +3527,8 @@ everyone plays by these rules. At compile time, it verifies that none of these
35273527
rules are broken. If our program compiles successfully, Rust can guarantee it
35283528
is free of data races and other memory errors, and there is no runtime overhead
35293529
for any of this. The borrow checker works only at compile time. If the borrow
3530-
checker did find a problem, it will report a **lifetime error**, and your
3531-
program will refuse to compile.
3530+
checker did find a problem, it will report an error and your program will
3531+
refuse to compile.
35323532

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

0 commit comments

Comments
 (0)