Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
308c4a6
commit a6ac22e
Showing
3 changed files
with
66 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters