From 311b2a40213aa48131a189f99dc4258d354c0c78 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Fri, 24 Dec 2021 04:58:51 -0600 Subject: Fix old warnings --- src/util.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util.rs') diff --git a/src/util.rs b/src/util.rs index 5185efd..2ad8c00 100644 --- a/src/util.rs +++ b/src/util.rs @@ -61,12 +61,12 @@ impl<'a> OutputChain<'a> { pub fn preceded(&'a self, segments: &'a [&'a [u8]]) -> Self { OutputChain { segments, - then: Some(&self), + then: Some(self), } } pub fn iter(&self) -> OutputChainIter<'_> { - OutputChainIter(Some(&self)) + OutputChainIter(Some(self)) } } -- cgit v1.2.3