diff options
Diffstat (limited to 'cli/lsp/urls.rs')
-rw-r--r-- | cli/lsp/urls.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/urls.rs b/cli/lsp/urls.rs index 7e274e7b0..abe83d3cb 100644 --- a/cli/lsp/urls.rs +++ b/cli/lsp/urls.rs @@ -107,7 +107,7 @@ impl LspUrlMap { .map_err(|e| uri_error(format!("{:?}", e)))?; let mime = data_url.mime_type(); let (media_type, _) = - map_content_type(specifier, Some(format!("{}", mime))); + map_content_type(specifier, Some(&format!("{}", mime))); let extension = if media_type == MediaType::Unknown { "" } else { |