From a5568066b3d979111134029f9e4f0c1b462b948e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 4 Oct 2023 21:42:17 +0200 Subject: refactor: use deno_core::FeatureChecker for unstable checks (#20765) --- ext/net/ops_unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/net/ops_unix.rs') diff --git a/ext/net/ops_unix.rs b/ext/net/ops_unix.rs index 7a5da9fa1..a36f1c30b 100644 --- a/ext/net/ops_unix.rs +++ b/ext/net/ops_unix.rs @@ -114,7 +114,7 @@ where NP: NetPermissions + 'static, { let address_path = Path::new(&path); - super::check_unstable2(&state, "Deno.connect"); + super::check_unstable(&state.borrow(), "Deno.connect"); { let mut state_ = state.borrow_mut(); state_ -- cgit v1.2.3