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:
parent
24cfa80754
commit
00904a462a
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Add table
Reference in a new issue