summaryrefslogtreecommitdiff
path: root/cli/http_util.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-08-09 16:19:10 -0400
committerGitHub <noreply@github.com>2021-08-09 16:19:10 -0400
commit7600a456dfc880a1eeff230f3f34c87978fedc58 (patch)
treed78c909ca3bde8281b71aec5ad259cc315950183 /cli/http_util.rs
parent4d4ce4c4d815c9575a81c550f998279a0c712585 (diff)
chore: remove windows-only compiler warning in http_util.rs (#11623)
Diffstat (limited to 'cli/http_util.rs')
-rw-r--r--cli/http_util.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/http_util.rs b/cli/http_util.rs
index ac8e1dff6..89ba4fb93 100644
--- a/cli/http_util.rs
+++ b/cli/http_util.rs
@@ -141,7 +141,6 @@ mod tests {
use super::*;
use crate::version;
use deno_tls::create_http_client;
- use deno_tls::rustls::RootCertStore;
use std::fs::read;
fn create_test_client(ca_data: Option<Vec<u8>>) -> Client {
@@ -407,7 +406,7 @@ mod tests {
let url = Url::parse("https://deno.land").unwrap();
let client = create_http_client(
version::get_user_agent(),
- Some(RootCertStore::empty()), // no certs loaded at all
+ Some(deno_tls::rustls::RootCertStore::empty()), // no certs loaded at all
None,
None,
None,