diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-03-11 23:48:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 23:48:00 -0400 |
commit | ad6b00a2bf061a90c72737d0ecc4a58bb0a89550 (patch) | |
tree | daf342fa1d0dcde202a116ac010f310ba4321fa9 /ext/net/02_tls.js | |
parent | c38c14f51f2edc8d25f349de52fc1268b97b59b2 (diff) |
chore: enable clippy unused_async rule (#22834)
Diffstat (limited to 'ext/net/02_tls.js')
-rw-r--r-- | ext/net/02_tls.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/net/02_tls.js b/ext/net/02_tls.js index 7fde7d12b..04b0a5850 100644 --- a/ext/net/02_tls.js +++ b/ext/net/02_tls.js @@ -166,6 +166,7 @@ function listenTls({ return new TlsListener(rid, localAddr); } +// deno-lint-ignore require-await async function startTls( conn, { @@ -174,7 +175,7 @@ async function startTls( alpnProtocols = undefined, } = {}, ) { - const { 0: rid, 1: localAddr, 2: remoteAddr } = await op_tls_start({ + const { 0: rid, 1: localAddr, 2: remoteAddr } = op_tls_start({ rid: conn[internalRidSymbol], hostname, caCerts, |