diff options
author | Yiyu Lin <linyiyu1992@gmail.com> | 2023-01-06 03:29:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-05 14:29:50 -0500 |
commit | 896dd56b7af06fea6604a5596a6ffd17e7e52e6e (patch) | |
tree | 92d3c94afe4923f1d1faccc8034a03f78b807ade /cli/args/lockfile.rs | |
parent | 4e6b78cb43ece70df28281c8033b51366b110acf (diff) |
refactor(cli,core,ext,rt): remove some unnecessary `clone` or `malloc` (#17274)
Diffstat (limited to 'cli/args/lockfile.rs')
-rw-r--r-- | cli/args/lockfile.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/args/lockfile.rs b/cli/args/lockfile.rs index 5f690b3a1..87f47255a 100644 --- a/cli/args/lockfile.rs +++ b/cli/args/lockfile.rs @@ -1,4 +1,7 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +use std::collections::BTreeMap; +use std::io::Write; +use std::path::PathBuf; use deno_core::anyhow::Context; use deno_core::error::AnyError; @@ -6,9 +9,6 @@ use deno_core::serde::Deserialize; use deno_core::serde::Serialize; use deno_core::serde_json; use log::debug; -use std::collections::BTreeMap; -use std::io::Write; -use std::path::PathBuf; use crate::args::config_file::LockConfig; use crate::args::ConfigFile; |