Skip to content

Commit

Permalink
Update Rust to v1.70.0 (#687)
Browse files Browse the repository at this point in the history
* Update Rust to v1.70.0

* new clippy async/await nit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Adam H. Leventhal <[email protected]>
  • Loading branch information
renovate[bot] and ahl authored Jun 5, 2023
1 parent b468e3e commit c719b41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dropshot/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ impl<C: ServerContext> InnerHttpServerStarter<C> {
info!(log_close, "received request to begin graceful shutdown");
});

tokio::spawn(async { graceful.await })
tokio::spawn(graceful)
}

/// Set up an HTTP server bound on the specified address that runs
Expand Down Expand Up @@ -529,7 +529,7 @@ impl<C: ServerContext> InnerHttpsServerStarter<C> {
info!(log_close, "received request to begin graceful shutdown");
});

tokio::spawn(async { graceful.await })
tokio::spawn(graceful)
}

fn new(
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# The intent is to keep this updated as new stable versions are relased.

[toolchain]
channel = "1.69.0"
channel = "1.70.0"
profile = "default"

0 comments on commit c719b41

Please sign in to comment.