diff options
| author | Yusuke Tanaka <yusuktan@maguro.dev> | 2021-03-26 03:17:37 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-25 19:17:37 +0100 |
| commit | e7954413e16d5814db5da6389f8d6e0c328812aa (patch) | |
| tree | 2840a275019df3e193c7c2f84442740ce7b7e48e /runtime/ops/tls.rs | |
| parent | 881e1e8164f1661158bac24f7ec03b969a0a8a02 (diff) | |
upgrade: Rust 1.51.0 (#9895)
Diffstat (limited to 'runtime/ops/tls.rs')
| -rw-r--r-- | runtime/ops/tls.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/ops/tls.rs b/runtime/ops/tls.rs index 5104e49f8..52c9d322a 100644 --- a/runtime/ops/tls.rs +++ b/runtime/ops/tls.rs @@ -79,7 +79,7 @@ pub fn init(rt: &mut deno_core::JsRuntime) { #[derive(Deserialize)] #[serde(rename_all = "camelCase")] -pub struct ConnectTLSArgs { +pub struct ConnectTlsArgs { transport: String, hostname: String, port: u16, @@ -88,7 +88,7 @@ pub struct ConnectTLSArgs { #[derive(Deserialize)] #[serde(rename_all = "camelCase")] -struct StartTLSArgs { +struct StartTlsArgs { rid: ResourceId, cert_file: Option<String>, hostname: String, @@ -96,7 +96,7 @@ struct StartTLSArgs { async fn op_start_tls( state: Rc<RefCell<OpState>>, - args: StartTLSArgs, + args: StartTlsArgs, _zero_copy: BufVec, ) -> Result<Value, AnyError> { let rid = args.rid; @@ -166,7 +166,7 @@ async fn op_start_tls( async fn op_connect_tls( state: Rc<RefCell<OpState>>, - args: ConnectTLSArgs, + args: ConnectTlsArgs, _zero_copy: BufVec, ) -> Result<Value, AnyError> { { |
