Skip to content

Commit

Permalink
Merge pull request #1737 from robertosw/typo-fix
Browse files Browse the repository at this point in the history
fixed a typo in the lifetime.md
  • Loading branch information
marioidival authored Sep 26, 2023
2 parents b246afd + 35dba24 commit 8eb3a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scope/lifetime.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Lifetimes

A *lifetime* is a construct of the compiler (or more specifically, its *borrow
A *lifetime* is a construct the compiler (or more specifically, its *borrow
checker*) uses to ensure all borrows are valid. Specifically, a variable's
lifetime begins when it is created and ends when it is destroyed. While
lifetimes and scopes are often referred to together, they are not the same.
Expand Down

0 comments on commit 8eb3a01

Please sign in to comment.