summaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
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))
}
}