From 025add6dc3b809fdadf2f98dc19fcefa465ae855 Mon Sep 17 00:00:00 2001 From: Luro02 <24826124+Luro02@users.noreply.github.com> Date: Tue, 17 Mar 2020 15:54:53 +0100 Subject: [PATCH] improve VariantStream --- src/tags/master_playlist/variant_stream.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tags/master_playlist/variant_stream.rs b/src/tags/master_playlist/variant_stream.rs index 4207b14..6492c0d 100644 --- a/src/tags/master_playlist/variant_stream.rs +++ b/src/tags/master_playlist/variant_stream.rs @@ -377,6 +377,10 @@ impl Deref for VariantStream { } } +impl PartialEq<&VariantStream> for VariantStream { + fn eq(&self, other: &&Self) -> bool { self.eq(*other) } +} + #[cfg(test)] mod tests { use super::*;