Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lifetime and scope clarification in
Closure types
reference.
As I understood so far, lifetime is affecting the borrowing rules enforcement, scope on the other hand, has to do with memory deallocation. Most of the time, these two concepts are not overlapped. The only case I'm aware they do, is that of the temporary variables in `let` statements.
- Loading branch information