summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-06-07 17:26:08 +0200
committerGitHub <noreply@github.com>2022-06-07 17:26:08 +0200
commit99f525a66c3fa03a5bede670d58b78de51ea5a94 (patch)
tree8febdd553a54a7e0aeaa548add00a0b3de5e5dd3
parent9385a913125df07f5216322e0b18aec1c6883957 (diff)
refactor(core): SourceMapGetter doesn't need Send + Sync (#14808)
-rw-r--r--core/source_map.rs2
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(