summaryrefslogtreecommitdiff
path: root/cli/deno_std.rs
diff options
context:
space:
mode:
authorYiyu Lin <linyiyu1992@gmail.com>2023-01-15 12:06:46 +0800
committerGitHub <noreply@github.com>2023-01-15 09:36:46 +0530
commitfd85f840cd707c31d08fa836562127e249c9ff62 (patch)
treec4847881976069d41d1b53616bdeaf5d073f3af6 /cli/deno_std.rs
parent05ef925eb095ae603f694fe8172ddcbd5b19b9b2 (diff)
refactor: clean up `unwrap` and `clone` (#17282)
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Diffstat (limited to 'cli/deno_std.rs')
-rw-r--r--cli/deno_std.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/deno_std.rs b/cli/deno_std.rs
index a8bee6a01..1c99eda08 100644
--- a/cli/deno_std.rs
+++ b/cli/deno_std.rs
@@ -8,4 +8,4 @@ use once_cell::sync::Lazy;
static CURRENT_STD_URL_STR: &str = "https://deno.land/std@0.172.0/";
pub static CURRENT_STD_URL: Lazy<Url> =
- Lazy::new(|| Url::parse(CURRENT_STD_URL_STR).unwrap());
+ Lazy::new(|| Url::parse(CURRENT_STD_URL_STR).expect("invalid std url"));