Skip to content

Commit 36d65bd

Browse files
committed
cargo clippy
1 parent 4dc75be commit 36d65bd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crates/base/tests/integration_tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ use std::time::Duration;
1717
use anyhow::Context;
1818
use async_tungstenite::WebSocketStream;
1919
use base::get_default_permissions;
20+
use base::utils::test_utils;
2021
use base::integration_test;
2122
use base::integration_test_listen_fut;
2223
use base::integration_test_with_server_flag;

crates/deno_facade/import_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub fn load_import_map(
1818
// the data URI takes the following format
1919
// data:{encodeURIComponent(mport_map.json)?{encodeURIComponent(base_path)}
2020
if path_str.starts_with("data:") {
21-
let data_uri = Url::parse(&path_str)?;
21+
let data_uri = Url::parse(path_str)?;
2222
json_str = decode(data_uri.path())?.into_owned();
2323
if let Some(query) = data_uri.query() {
2424
base_url = Url::from_directory_path(decode(query)?.into_owned())

0 commit comments

Comments
 (0)