Skip to content

Commit a8faa5f

Browse files
committed
Satisfy clippy
1 parent 6b0c597 commit a8faa5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/wasi-tls/src/p3/host.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ impl bindings::tls::client::HostConnectorWithStore for WasiTls {
182182
server_name: String,
183183
) -> wasmtime::Result<Result<(), Resource<Error>>> {
184184
fn connect_err(msg: &'static str) -> BoxFutureTlStream {
185-
Box::pin(async move { Err(Error::msg(msg).into()) })
185+
Box::pin(async move { Err(Error::msg(msg)) })
186186
}
187187
let (fut, connection) = accessor.with(
188188
move |mut access| -> wasmtime::Result<(BoxFutureTlStream, _)> {

0 commit comments

Comments
 (0)