Skip to content

Commit

Permalink
remove must_use from AbortingJoinHandle
Browse files Browse the repository at this point in the history
  • Loading branch information
rklaehn committed Jul 4, 2024
1 parent 41d067b commit c417236
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion iroh-net/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ pub mod chain;

/// A join handle that owns the task it is running, and aborts it when dropped.
#[derive(Debug, derive_more::Deref)]
#[must_use = "aborting join handle will abort the task when dropped"]
pub struct AbortingJoinHandle<T> {
handle: tokio::task::JoinHandle<T>,
}
Expand Down

0 comments on commit c417236

Please sign in to comment.