Skip to content

why put setters in blocks? #556

Answered by dwrensha
andrewbanchich asked this question in Q&A
Discussion options

You must be logged in to vote

I believe that kind of structuring was necessary before non-lexical lifetimes landed in Rust. https://blog.rust-lang.org/2022/08/05/nll-by-default/

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@andrewbanchich
Comment options

Answer selected by andrewbanchich
Comment options

You must be logged in to vote
1 reply
@andrewbanchich
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants