mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
18c1781a4c
This is very useful when the RwLock is synchronizing access to a data structure and you would like to return or store guards which contain references to data inside the data structure instead of the data structure itself.