summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize/stream/writer/writer_deflate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/serialize/stream/writer/writer_deflate.rs')
-rw-r--r--openpgp/src/serialize/stream/writer/writer_deflate.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/serialize/stream/writer/writer_deflate.rs b/openpgp/src/serialize/stream/writer/writer_deflate.rs
index 27b4bd6b..e254e49c 100644
--- a/openpgp/src/serialize/stream/writer/writer_deflate.rs
+++ b/openpgp/src/serialize/stream/writer/writer_deflate.rs
@@ -10,7 +10,7 @@ use super::{Generic, Message, BoxStack, Stackable, Cookie};
pub struct ZIP<'a, C: 'a> {
inner: Generic<DeflateEncoder<BoxStack<'a, C>>, C>,
}
-assert_send_and_sync!(ZIP<'_, C>, C);
+assert_send_and_sync!(ZIP<'_, C> where C);
impl<'a> ZIP<'a, Cookie> {
/// Makes a ZIP compressing writer.
@@ -79,7 +79,7 @@ impl<'a, C: 'a> Stackable<'a, C> for ZIP<'a, C> {
pub struct ZLIB<'a, C: 'a> {
inner: Generic<ZlibEncoder<BoxStack<'a, C>>, C>,
}
-assert_send_and_sync!(ZLIB<'_, C>, C);
+assert_send_and_sync!(ZLIB<'_, C> where C);
impl<'a> ZLIB<'a, Cookie> {
/// Makes a ZLIB compressing writer.