Skip to content

Commit

Permalink
Fixup: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Feb 16, 2024
1 parent 5631ecf commit e0e8fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openraft/src/network/stream_snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub(crate) trait SnapshotTransport<C: RaftTypeConfig> {
_streaming: &mut Option<Streaming<C>>,
_req: InstallSnapshotRequest<C>,
) -> Result<Option<Snapshot<C>>, StorageError<C::NodeId>> {
unimplemented!("receive_snapshot is only implemented with SnapshotData with AsyncRead + AsyncSeek ...")
unimplemented!("receive_snapshot is only implemented with SnapshotData with AsyncWrite + AsyncSeek ...")
}
}

Expand Down

0 comments on commit e0e8fa8

Please sign in to comment.