Use RwLock instead of Lock for SourceMap::files
This commit is contained in:
parent
2661a4edb9
commit
79cc5099b1
2 changed files with 5 additions and 5 deletions
|
@ -512,7 +512,7 @@ impl<T: Clone> Clone for Lock<T> {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Default)]
|
||||
pub struct RwLock<T>(InnerRwLock<T>);
|
||||
|
||||
impl<T> RwLock<T> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue