summaryrefslogtreecommitdiffstats
path: root/vendor/itertools/src/duplicates_impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/itertools/src/duplicates_impl.rs')
-rw-r--r--vendor/itertools/src/duplicates_impl.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/vendor/itertools/src/duplicates_impl.rs b/vendor/itertools/src/duplicates_impl.rs
index 640d4818c..28eda44a9 100644
--- a/vendor/itertools/src/duplicates_impl.rs
+++ b/vendor/itertools/src/duplicates_impl.rs
@@ -188,7 +188,6 @@ mod private {
/// An iterator adapter to filter for duplicate elements.
///
/// See [`.duplicates_by()`](crate::Itertools::duplicates_by) for more information.
-#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
pub type DuplicatesBy<I, V, F> = private::DuplicatesBy<I, V, private::ByFn<F>>;
/// Create a new `DuplicatesBy` iterator.