1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05: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 GitHub
parent 9385a91312
commit 99f525a66c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(