2 ms·
The apostrophes are for lifetimes, and they don't even have to be specified most of the time. I just checked for all of the rust code that I have written and ex
by TheCoelacanth 8y ago
The apostrophes are for lifetimes, and they don't even have to be specified most of the time. I just checked for all of the rust code that I have written and explicit lifetimes only occur once per 36 lines and in less than a third of files.
Tutorials and blogs will give you a skewed idea about how frequently lifetimes need to be specified because lifetimes get a disproportionate amount of content written about them.