mirror of
https://github.com/rosenpass/rosenpass.git
synced 2025-12-12 15:49:22 -08:00
chore: Clippy fixes for rp crate
This commit is contained in:
@@ -228,7 +228,7 @@ pub async fn exchange(options: ExchangeOptions) -> Result<()> {
|
|||||||
// Set up a list of (initiallc empty) cleanup handlers that are to be run if
|
// Set up a list of (initiallc empty) cleanup handlers that are to be run if
|
||||||
// ctrl-c is hit or generally a `SIGINT` signal is received and always in the end.
|
// ctrl-c is hit or generally a `SIGINT` signal is received and always in the end.
|
||||||
let cleanup_handlers = CleanupHandlers::new();
|
let cleanup_handlers = CleanupHandlers::new();
|
||||||
let final_cleanup_handlers = (&cleanup_handlers).clone();
|
let final_cleanup_handlers = cleanup_handlers.clone();
|
||||||
|
|
||||||
cleanup_handlers
|
cleanup_handlers
|
||||||
.enqueue(Box::pin(async move {
|
.enqueue(Box::pin(async move {
|
||||||
|
|||||||
Reference in New Issue
Block a user