diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2019-10-30 16:22:29 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2019-10-30 16:51:14 -0300 |
| commit | a6ac22e7e880914826b7b036bcfc6e748a78904d (patch) | |
| tree | 5f274a8085a0e41b9bc33c1374d920903cb305ea /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 308c4a620dde80f4b319bd3acbb2ef45cb12efa0 (diff) | |
| download | rust-a6ac22e7e880914826b7b036bcfc6e748a78904d.tar.gz rust-a6ac22e7e880914826b7b036bcfc6e748a78904d.zip | |
Change CrateMetadata's source_map_import_info from RwLock to Once
This field is created lazily on first use and after that is read only. That's exactly what Once is for.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
