summaryrefslogtreecommitdiff
path: root/ext/kv/lib.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2023-03-22 10:02:40 -0400
committerGitHub <noreply@github.com>2023-03-22 10:02:40 -0400
commit50b793c9ed866ee29e8f04b4fa24b485b01a2b74 (patch)
treec67d9052d553f389350afc1039bf26db49aa862a /ext/kv/lib.rs
parente73e8410f66aae052c7c2101d7fd3ce8c8b764e7 (diff)
refactor: rename Deno.openKv() to Deno.kv() (#18349)
Diffstat (limited to 'ext/kv/lib.rs')
-rw-r--r--ext/kv/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/kv/lib.rs b/ext/kv/lib.rs
index 49a59af74..b0b629e33 100644
--- a/ext/kv/lib.rs
+++ b/ext/kv/lib.rs
@@ -84,9 +84,7 @@ where
{
let handler = {
let state = state.borrow();
- state
- .borrow::<UnstableChecker>()
- .check_unstable("Deno.openKv");
+ state.borrow::<UnstableChecker>().check_unstable("Deno.kv");
state.borrow::<Rc<DBH>>().clone()
};
let db = handler.open(state.clone(), path).await?;