From e0e8fa805122e469ff4821ec0066d14f4baedccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=82=8E=E6=B3=BC?= Date: Thu, 15 Feb 2024 23:31:36 +0800 Subject: [PATCH] Fixup: comment --- openraft/src/network/stream_snapshot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openraft/src/network/stream_snapshot.rs b/openraft/src/network/stream_snapshot.rs index 2d6699227..d9b646a66 100644 --- a/openraft/src/network/stream_snapshot.rs +++ b/openraft/src/network/stream_snapshot.rs @@ -20,7 +20,7 @@ pub(crate) trait SnapshotTransport { _streaming: &mut Option>, _req: InstallSnapshotRequest, ) -> Result>, StorageError> { - unimplemented!("receive_snapshot is only implemented with SnapshotData with AsyncRead + AsyncSeek ...") + unimplemented!("receive_snapshot is only implemented with SnapshotData with AsyncWrite + AsyncSeek ...") } }