We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d25736c commit e9f387eCopy full SHA for e9f387e
src/traverse.rs
@@ -216,7 +216,7 @@ async fn make_child_key_index_iter(
216
}
217
218
impl TraverseConfig {
219
- fn in_bounds(&self, value: &Vec<u8>) -> bool {
+ fn in_bounds(&self, value: &[u8]) -> bool {
220
// TODO impl Ord for LimitValue and remove the expects
221
match self
222
.min_value
@@ -308,7 +308,7 @@ async fn get_child_stream<'a>(
308
Ok(Traverse::new(child, config))
309
310
311
-impl<'a> Stream for Traverse<'a> {
+impl Stream for Traverse<'_> {
312
type Item = TreeItem;
313
#[tracing::instrument(skip(self, cx))]
314
fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
0 commit comments