Benign cargo Download

empty.rs

SHA-2567d999a21fb6b1b72490bd4fcd89229b6acef58892ecc4bdc3ce99a19a8c448ec
Malecule∅

Evidence

imports iter::plumbing::* lines 1–17
1use iter::plumbing::*;
2use iter::*;
3
4use std;
5use std::fmt;
6use std::marker::PhantomData;
7
8/// Creates a parallel iterator that produces nothing.
9///
10/// This admits no parallelism on its own, but it could be used for code that
11/// deals with generic parallel iterators.
12///
13/// # Examples
⋯4 lines
English function-word token "the" lines 20–33
⋯7 lines
27}
28
29/// Iterator adaptor for [the `empty()` function](fn.empty.html).
30pub struct Empty<T: Send> {
31 marker: PhantomData<T>,
32}
33

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.