From 00a850f0d7cf49d444ac9fdfc67cf1ec3271e280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=82=8E=E6=B3=BC?= Date: Sun, 7 Apr 2024 14:54:43 +0800 Subject: [PATCH] Refactor: trait `AsyncOneshotSendExt` does not need `Unpin` --- openraft/src/async_runtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openraft/src/async_runtime.rs b/openraft/src/async_runtime.rs index 9c7f48174..a83ae4378 100644 --- a/openraft/src/async_runtime.rs +++ b/openraft/src/async_runtime.rs @@ -172,7 +172,7 @@ impl AsyncRuntime for TokioRuntime { } } -pub trait AsyncOneshotSendExt: Unpin { +pub trait AsyncOneshotSendExt { /// Attempts to send a value on this channel, returning it back if it could /// not be sent. ///