Skip to content

Commit 2cd43e2

Browse files
committed
Remove PagingStateResponse::take()
It is not used anywhere, and was doc(hidden), so I don't see any use for it.
1 parent 80e354d commit 2cd43e2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

scylla-cql/src/frame/request/query.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -243,14 +243,6 @@ impl PagingStateResponse {
243243
Self::NoMorePages => ControlFlow::Break(()),
244244
}
245245
}
246-
247-
/// Swaps the paging state response with PagingStateResponse::NoMorePages.
248-
///
249-
/// Only for use in driver's inner code, as an optimisation.
250-
#[doc(hidden)]
251-
pub fn take(&mut self) -> Self {
252-
std::mem::replace(self, Self::NoMorePages)
253-
}
254246
}
255247

256248
/// The state of a paged query, i.e. where to resume fetching result rows

0 commit comments

Comments
 (0)