diff options
| author | Jonathan Reem <jonathan.reem@gmail.com> | 2016-01-11 19:10:02 -0800 |
|---|---|---|
| committer | Jonathan Reem <jonathan.reem@gmail.com> | 2016-01-29 17:00:04 -0800 |
| commit | a4343e99c0e38bcb31386d48a6682e3a1896a0cc (patch) | |
| tree | 0e08bb658f37588a5c74612b16336916e7c3f40c /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 074f49a350f22b6f33890cd105b2ebe2c790ee3c (diff) | |
| download | rust-a4343e99c0e38bcb31386d48a6682e3a1896a0cc.tar.gz rust-a4343e99c0e38bcb31386d48a6682e3a1896a0cc.zip | |
Add guard map methods for transforming guards to contain sub-borrows.
This is very useful when the lock 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.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
