Skip to content

Commit

Permalink
fixed a typo in the lifetime.md
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosw committed Aug 24, 2023
1 parent c954202 commit 35dba24
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 35dba24

Please sign in to comment.