diff options
Diffstat (limited to 'openpgp/src/serialize/stream/partial_body.rs')
-rw-r--r-- | openpgp/src/serialize/stream/partial_body.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/serialize/stream/partial_body.rs b/openpgp/src/serialize/stream/partial_body.rs index 52752fcb..cc9afa89 100644 --- a/openpgp/src/serialize/stream/partial_body.rs +++ b/openpgp/src/serialize/stream/partial_body.rs @@ -45,6 +45,7 @@ pub struct PartialBodyFilter<'a, C: 'a> { // The number of bytes written to this filter. position: u64, } +assert_send_and_sync!(PartialBodyFilter<'_, C>, C); const PARTIAL_BODY_FILTER_MAX_CHUNK_SIZE : usize = 1 << 30; |