mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
refactor: clean up unwrap
and clone
(#17282)
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
This commit is contained in:
parent
05ef925eb0
commit
fd85f840cd
15 changed files with 75 additions and 94 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue