summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize/stream/writer/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/serialize/stream/writer/mod.rs')
-rw-r--r--openpgp/src/serialize/stream/writer/mod.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/openpgp/src/serialize/stream/writer/mod.rs b/openpgp/src/serialize/stream/writer/mod.rs
index c2f9f518..bc011429 100644
--- a/openpgp/src/serialize/stream/writer/mod.rs
+++ b/openpgp/src/serialize/stream/writer/mod.rs
@@ -189,7 +189,7 @@ pub struct Identity<'a, C> {
inner: Option<BoxStack<'a, C>>,
cookie: C,
}
-assert_send_and_sync!(Identity<'_, C>, C);
+assert_send_and_sync!(Identity<'_, C> where C);
impl<'a> Identity<'a, Cookie> {
/// Makes an identity writer.
@@ -270,7 +270,7 @@ pub struct Generic<W: io::Write + Send + Sync, C> {
cookie: C,
position: u64,
}
-assert_send_and_sync!(Generic<W, C>, W: io::Write, C);
+assert_send_and_sync!(Generic<W, C> where W: io::Write, C);
impl<'a, W: 'a + io::Write + Send + Sync> Generic<W, Cookie> {
/// Wraps an `io::Write`r.
@@ -355,7 +355,7 @@ impl<'a, W: io::Write + Send + Sync, C> Stackable<'a, C> for Generic<W, C> {
pub struct Armorer<'a, C: 'a> {
inner: Generic<armor::Writer<BoxStack<'a, C>>, C>,
}
-assert_send_and_sync!(Armorer<'_, C>, C);
+assert_send_and_sync!(Armorer<'_, C> where C);
impl<'a> Armorer<'a, Cookie> {
/// Makes an armoring writer.
@@ -428,7 +428,7 @@ impl<'a, C: 'a> Stackable<'a, C> for Armorer<'a, C> {
pub struct Encryptor<'a, C: 'a> {
inner: Generic<symmetric::Encryptor<Box<dyn Stackable<'a, C> + Send + Sync + 'a>>, C>,
}
-assert_send_and_sync!(Encryptor<'_, C>, C);
+assert_send_and_sync!(Encryptor<'_, C> where C);
impl<'a> Encryptor<'a, Cookie> {
/// Makes an encrypting writer.
@@ -500,7 +500,7 @@ impl<'a, C: 'a> Stackable<'a, C> for Encryptor<'a, C> {
pub struct AEADEncryptor<'a, C: 'a> {
inner: Generic<aead::Encryptor<BoxStack<'a, C>>, C>,
}
-assert_send_and_sync!(AEADEncryptor<'_, C>, C);
+assert_send_and_sync!(AEADEncryptor<'_, C> where C);
impl<'a> AEADEncryptor<'a, Cookie> {
/// Makes an encrypting writer.