0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-09 21:57:40 -04:00

refactor(core): SourceMapGetter doesn't need Send + Sync (#14808)

This commit is contained in:
Bartek Iwańczuk 2022-06-07 17:26:08 +02:00 committed by cjihrig
parent 24cfa80754
commit 00904a462a
No known key found for this signature in database
GPG key ID: 7434390BDBE9B9C5

View file

@ -7,7 +7,7 @@ pub use sourcemap::SourceMap;
use std::collections::HashMap; use std::collections::HashMap;
use std::str; use std::str;
pub trait SourceMapGetter: Sync + Send { pub trait SourceMapGetter {
/// Returns the raw source map file. /// Returns the raw source map file.
fn get_source_map(&self, file_name: &str) -> Option<Vec<u8>>; fn get_source_map(&self, file_name: &str) -> Option<Vec<u8>>;
fn get_source_line( fn get_source_line(