mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-01-31 11:01:46 +02:00
71ce061cc2
* Update lifetimes-data-structures.md The example is quite simple, but in it's simplicity it may raise the question why do we even need lifetimes in the structs? Isn't it obvious that the referenced value should always outlive the struct? This sentence tries to explain that more complex cases exist. * Fix typo Co-authored-by: Andrew Walbran <qwandor@google.com>