Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
514: Add Itertools.contains r=jswrenn a=mmirate This is an extremely trivial shorthand for the code-pattern suggested by the docs for [slice::contains](https://doc.rust-lang.org/std/primitive.slice.html#method.contains) in the case when one has a slice of owned data to be queried using borrowed data. Co-authored-by: Milo Mirate <mmirate@gmx.com> Co-authored-by: Milo Mirate <mmirate@users.noreply.github.com>
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters