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 7, 2024
1 parent 8b7ba0d commit 097d3ec
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 097d3ec

Please sign in to comment.