Benign cargo Download

intersperse.rs

Source contains low-bit mask syntaxSource references XOR syntax
SHA-25611c00e7b99e43d9256ed1371ef22345c5ff4b4373dedbfa3d749450e45a4b3ee
MaleculeH(Db)

Evidence

imports std::cell::Cell lines 1–10
1use super::plumbing::*;
2use super::*;
3use std::cell::Cell;
4use std::iter::Fuse;
5
6/// `Intersperse` is an iterator that inserts a particular item between each
7/// item of the adapted iterator. This struct is created by the
8/// [`intersperse()`] method on [`ParallelIterator`]
9///
10/// [`intersp …
English function-word token "and" lines 11–15
11:48… r.html
12#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
13#[derive(Clone, Debug)]
14pub struct Intersperse<I>
15 where I: Par …
English function-word token "for" lines 29–36
29:24… base, item: item }
30}
31
32impl<I> ParallelIterator for Intersperse<I>
33 where I: ParallelIterator,
34 I::Item: Clone + Send
35{
36 type Item = …
Source contains low-bit mask syntax lines 142–151
142:69… the opposite
143 // of how they started with respect to interspersed clones.
144 clone_last: self.len > 1 && ((self.len & 1 == 0) ^ self.clone_first),
145 }
146 }
⋯5 lines

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.