Benign cargo Download

skip.rs

SHA-2567ec38e6252e7ccc3de637aa938e9fd006fb070c17079cc15c87825662ebbd8a1
Malecule∅

Evidence

imports std::cmp::min lines 1–9
1use super::plumbing::*;
2use super::*;
3use super::noop::NoopConsumer;
4use std::cmp::min;
5
6/// `Skip` is an iterator that skips over the first `n` elements.
7/// This struct is created by the [`skip()`] method on [`IndexedParallelIterator`]
8///
9/// [`skip()`]: t …
English function-word token "and" lines 10–15
10:62… r.html
11#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
12#[derive(Debug, Clone)]
13pub struct Skip<I> {
14 base: I,
15 n: u …
English function-word token "for" lines 25–33
25:11… base: base, n: n }
26}
27
28impl<I> ParallelIterator for Skip<I>
29 where I: IndexedParallelIterator
30{
31 type Item = I::Item;
32
33 fn drive_unindexed …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.