diff options
Diffstat (limited to 'openpgp/src/serialize/writer/writer_bzip2.rs')
-rw-r--r-- | openpgp/src/serialize/writer/writer_bzip2.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/serialize/writer/writer_bzip2.rs b/openpgp/src/serialize/writer/writer_bzip2.rs index e8f70233..62affd0c 100644 --- a/openpgp/src/serialize/writer/writer_bzip2.rs +++ b/openpgp/src/serialize/writer/writer_bzip2.rs @@ -53,10 +53,10 @@ impl<'a, C: 'a> Stackable<'a, C> for BZ<'a, C> { fn mount(&mut self, _new: BoxStack<'a, C>) { unreachable!("Only implemented by Signer") } - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { Some(self.inner.inner.get_mut()) } - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { Some(self.inner.inner.get_ref()) } fn cookie_set(&mut self, cookie: C) -> C { |