Skip to content

Commit

Permalink
fix unused pinned boxed fut
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan committed Nov 25, 2023
1 parent a3ea7c0 commit 8412607
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl<S: StateStore> KvLogStoreReader<S> {
) -> LogStoreResult<Option<(ChunkId, StreamChunk, u64)>> {
if let Some(future) = self.read_flushed_chunk_future.as_mut() {
let result = future.await;
self.read_flushed_chunk_future
_ = self.read_flushed_chunk_future
.take()
.expect("future not None");
Ok(Some(result?))
Expand Down

0 comments on commit 8412607

Please sign in to comment.