summaryrefslogtreecommitdiff
path: root/ext/webstorage/lib.rs
diff options
context:
space:
mode:
authorYiyu Lin <linyiyu1992@gmail.com>2023-01-06 03:29:50 +0800
committerGitHub <noreply@github.com>2023-01-05 14:29:50 -0500
commit896dd56b7af06fea6604a5596a6ffd17e7e52e6e (patch)
tree92d3c94afe4923f1d1faccc8034a03f78b807ade /ext/webstorage/lib.rs
parent4e6b78cb43ece70df28281c8033b51366b110acf (diff)
refactor(cli,core,ext,rt): remove some unnecessary `clone` or `malloc` (#17274)
Diffstat (limited to 'ext/webstorage/lib.rs')
-rw-r--r--ext/webstorage/lib.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/webstorage/lib.rs b/ext/webstorage/lib.rs
index 736bea4b5..5425edc04 100644
--- a/ext/webstorage/lib.rs
+++ b/ext/webstorage/lib.rs
@@ -2,6 +2,9 @@
// NOTE to all: use **cached** prepared statements when interfacing with SQLite.
+use std::fmt;
+use std::path::PathBuf;
+
use deno_core::error::AnyError;
use deno_core::include_js_files;
use deno_core::op;
@@ -10,8 +13,6 @@ use deno_core::OpState;
use rusqlite::params;
use rusqlite::Connection;
use rusqlite::OptionalExtension;
-use std::fmt;
-use std::path::PathBuf;
pub use rusqlite;