URL to the section(s) of the book with this problem:
https://rust-book.cs.brown.edu/ch10-03-lifetime-syntax.html
Description of the problem:
The lifetime parameter declaration after impl and its use after the type name are required, but we’re not required to annotate the lifetime of the reference to self because of the first elision rule.
Suggested fix:
The lifetime parameter declaration after impl and its use after the type name are required, but we’re not required to annotate the lifetime of the reference to self because of the third elision rule.
URL to the section(s) of the book with this problem: https://rust-book.cs.brown.edu/ch10-03-lifetime-syntax.html Description of the problem: The lifetime parameter declaration after impl and its use after the type name are required, but we’re not required to annotate the lifetime of the reference to self because of the first elision rule. Suggested fix: The lifetime parameter declaration after impl and its use after the type name are required, but we’re not required to annotate the lifetime of the reference to self because of the third elision rule.