summaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2021-12-24 04:58:51 -0600
committerAlejandro Soto <alejandro@34project.org>2021-12-24 05:07:23 -0600
commit311b2a40213aa48131a189f99dc4258d354c0c78 (patch)
tree3f4fd971a7b94d07f11a8c878e0bc665bdf61f67 /src/util.rs
parent5afc15edaa593bdf7dd2ae7c542980d9d70b8321 (diff)
Fix old warnings
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs4
1 files changed, 2 insertions, 2 deletions
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))
}
}