diff options
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_ |