Hacker News new | ask | show | jobs
by Georgelemental 925 days ago
Other tips for understanding Rust lifetime issues:

- Enable rust-analyzer inlay hints for elided lifetimes, reborrows, etc

- Enable the `elided_lifetimes_in_paths` lint

Together, these should ensure that all lifetimes in your code are clearly visible on the screen.