@sylvain There are good reasons for lifetimes surfacing in APIs, eg. when safety guarantees require that objects have unique types. Then, it is important to document these (`'a` won't cut it). Example I recently updated: https://rustdoc.etonomy.org/riot_wrappers/thread/struct.CountingThreadScope.html (although it also falls in your "embedded" category, on a platform where no library should alloc).
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!