diff options
author | Yusuke Tanaka <yusuktan@maguro.dev> | 2021-07-30 22:03:41 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 15:03:41 +0200 |
commit | 8f00b5542caffd14988b923efe4f066b712d2858 (patch) | |
tree | e56ebefb0b73a2205bc482a0a6f55e87bd35a92b /cli/tsc.rs | |
parent | c909faf9e6cd2964398da7c0852d0229cdd1a22b (diff) |
chore: upgrade Rust to 1.54.0 (#11554)
Diffstat (limited to 'cli/tsc.rs')
-rw-r--r-- | cli/tsc.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tsc.rs b/cli/tsc.rs index 1b923aa3b..b355c12fa 100644 --- a/cli/tsc.rs +++ b/cli/tsc.rs @@ -510,9 +510,9 @@ pub fn exec(request: Request) -> Result<Response, AnyError> { .map(|(s, mt)| match s.scheme() { "data" | "blob" => { let specifier_str = if s.scheme() == "data" { - hash_data_url(&s, &mt) + hash_data_url(s, mt) } else { - hash_blob_url(&s, &mt) + hash_blob_url(s, mt) }; data_url_map.insert(specifier_str.clone(), s.clone()); specifier_str @@ -640,7 +640,7 @@ mod tests { ..Default::default() })); let mut builder = GraphBuilder::new(handler.clone(), None, None); - builder.add(&specifier, false).await?; + builder.add(specifier, false).await?; let graph = Arc::new(Mutex::new(builder.get_graph())); let config = TsConfig::new(json!({ "allowJs": true, |