From 78a1d4890744bbd155182343ff29375443391823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=82=8E=E6=B3=BC?= Date: Fri, 12 Jul 2024 15:01:15 +0800 Subject: [PATCH] Change: Openraft does not require `Clone` for `WatchSender` - `WatchSender` is added in: 1b4ec53df2c548757607261e88287a2fd6cb5131 --- openraft/src/type_config/async_runtime/watch/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openraft/src/type_config/async_runtime/watch/mod.rs b/openraft/src/type_config/async_runtime/watch/mod.rs index 84ee0b91a..65f0e7f15 100644 --- a/openraft/src/type_config/async_runtime/watch/mod.rs +++ b/openraft/src/type_config/async_runtime/watch/mod.rs @@ -16,7 +16,7 @@ pub trait Watch: Sized + OptionalSend { fn channel(init: T) -> (Self::Sender, Self::Receiver); } -pub trait WatchSender: OptionalSend + Clone +pub trait WatchSender: OptionalSend where W: Watch, T: OptionalSend + OptionalSync,