mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
5e00b8e7d5
We have a number of structs with more lifetimes than necessary. This commit removes them. LLM disclosure: I asked Claude Code to check for unnecessary lifetimes in all types with three or more lifetimes, and it produced a list of candidates (half of which were invalid). I did the modifications for the valid cases myself, and found a couple more cases along the way.