Skip to content

Commit

Permalink
Refactor: trait AsyncOneshotSendExt does not need Unpin
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Apr 8, 2024
1 parent a47cd4a commit 7c344ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openraft/src/async_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ impl AsyncRuntime for TokioRuntime {
}
}

pub trait AsyncOneshotSendExt<T>: Unpin {
pub trait AsyncOneshotSendExt<T> {
/// Attempts to send a value on this channel, returning it back if it could
/// not be sent.
///
Expand Down

0 comments on commit 7c344ea

Please sign in to comment.