diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-10-04 21:42:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 21:42:17 +0200 |
commit | a5568066b3d979111134029f9e4f0c1b462b948e (patch) | |
tree | 14c4233cc01d55eda7f608b5194f6b088264b52e /ext/net/ops_unix.rs | |
parent | 9a46a824bd897e240af8a14f9d950ab6d95f42a5 (diff) |
refactor: use deno_core::FeatureChecker for unstable checks (#20765)
Diffstat (limited to 'ext/net/ops_unix.rs')
-rw-r--r-- | ext/net/ops_unix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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_ |