diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-06-07 17:26:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-07 17:26:08 +0200 |
commit | 99f525a66c3fa03a5bede670d58b78de51ea5a94 (patch) | |
tree | 8febdd553a54a7e0aeaa548add00a0b3de5e5dd3 | |
parent | 9385a913125df07f5216322e0b18aec1c6883957 (diff) |
refactor(core): SourceMapGetter doesn't need Send + Sync (#14808)
-rw-r--r-- | core/source_map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/source_map.rs b/core/source_map.rs index d33b66586..770b29cc7 100644 --- a/core/source_map.rs +++ b/core/source_map.rs @@ -7,7 +7,7 @@ pub use sourcemap::SourceMap; use std::collections::HashMap; use std::str; -pub trait SourceMapGetter: Sync + Send { +pub trait SourceMapGetter { /// Returns the raw source map file. fn get_source_map(&self, file_name: &str) -> Option<Vec<u8>>; fn get_source_line( |