chore: Clippy fixes for rp crate

This commit is contained in:
Karolin Varner
2025-07-31 13:16:40 +02:00
parent 3f2a9bb96b
commit 3371d7f00f

View File

@@ -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
// ctrl-c is hit or generally a `SIGINT` signal is received and always in the end.
let cleanup_handlers = CleanupHandlers::new();
let final_cleanup_handlers = (&cleanup_handlers).clone();
let final_cleanup_handlers = cleanup_handlers.clone();
cleanup_handlers
.enqueue(Box::pin(async move {