-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Milestone
Description
- I have searched open and closed issues and pull requests for duplicates, using these search terms:
- where the lifetimes of references
- I have checked the latest
main
branch to see if this has already been fixed, in this file:- src/ch10-03-lifetime-syntax.md
URL to the section(s) of the book with this problem:
https://doc.rust-lang.org/stable/book/ch10-03-lifetime-syntax.html#the-borrow-checker
Description of the problem:
Now that you know where the lifetimes of references are and how Rust analyzes lifetimes to ensure references will always be valid, let’s explore generic lifetimes of parameters and return values in the context of functions.
What does it mean for the lifetimes of references to be somewhere?
Suggested fix:
Replace "where" with "what"?