diff options
Diffstat (limited to 'autocrypt/src/lib.rs')
-rw-r--r-- | autocrypt/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/autocrypt/src/lib.rs b/autocrypt/src/lib.rs index a82a1952..3b52cb69 100644 --- a/autocrypt/src/lib.rs +++ b/autocrypt/src/lib.rs @@ -480,7 +480,9 @@ impl AutocryptSetupMessage { /// Generates the Autocrypt Setup Message. /// /// The message is written to `w`. - pub fn serialize<W: io::Write>(&mut self, w: &mut W) -> Result<()> { + pub fn serialize<W>(&mut self, w: &mut W) -> Result<()> + where W: io::Write + Send + Sync, + { // The outer message is an ASCII-armored encoded message // containing a single SK-ESK and a single SEIP packet. The // SEIP packet contains a literal data packet whose content is |