summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert/builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/cert/builder.rs')
-rw-r--r--openpgp/src/cert/builder.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/openpgp/src/cert/builder.rs b/openpgp/src/cert/builder.rs
index 413dce36..5976a931 100644
--- a/openpgp/src/cert/builder.rs
+++ b/openpgp/src/cert/builder.rs
@@ -1431,4 +1431,10 @@ mod tests {
revokers.iter().collect::<HashSet<_>>());
Ok(())
}
+
+ #[test]
+ fn cert_builder_is_send_and_sync() {
+ fn f<T: Send + Sync>(_: T) {}
+ f(CertBuilder::new().generate().unwrap());
+ }
}