mirror of
https://github.com/denoland/deno.git
synced 2025-10-03 15:44:36 +00:00
chore: upgrade Rust to 1.53.0 (#11021)
This commit is contained in:
parent
2a66d5de01
commit
8031644e65
12 changed files with 26 additions and 33 deletions
|
@ -298,11 +298,9 @@ async fn get_tls_config(
|
|||
})
|
||||
.unwrap();
|
||||
|
||||
return Ok(Arc::new(config));
|
||||
}
|
||||
None => {
|
||||
return Err(io::Error::new(io::ErrorKind::Other, "Cannot find key"));
|
||||
Ok(Arc::new(config))
|
||||
}
|
||||
None => Err(io::Error::new(io::ErrorKind::Other, "Cannot find key")),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -369,7 +367,7 @@ async fn absolute_redirect(
|
|||
|
||||
let file = tokio::fs::read(file_path).await.unwrap();
|
||||
let file_resp = custom_headers(req.uri().path(), file);
|
||||
return Ok(file_resp);
|
||||
Ok(file_resp)
|
||||
}
|
||||
|
||||
async fn main_server(req: Request<Body>) -> hyper::Result<Response<Body>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue