summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/src/serialize.rs
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-09-26 11:53:32 +0200
committerNeal H. Walfield <neal@pep.foundation>2019-09-27 22:12:11 +0200
commit424ce126a56660168f8284fa34ae80cb93d74289 (patch)
tree2c0440c1f3b0d557def5e1a496ee4ede22045a9b /openpgp-ffi/src/serialize.rs
parenta69ec9f9c5097bb8acd1a4fe2144328c9dc4ade7 (diff)
linting: Clear up bare trait object warnings
Newer Rust compilers requre `dyn` marking trait objects. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'openpgp-ffi/src/serialize.rs')
-rw-r--r--openpgp-ffi/src/serialize.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp-ffi/src/serialize.rs b/openpgp-ffi/src/serialize.rs
index 9613886c..918c30fb 100644
--- a/openpgp-ffi/src/serialize.rs
+++ b/openpgp-ffi/src/serialize.rs
@@ -150,7 +150,7 @@ pub extern "C" fn pgp_arbitrary_writer_new
pub extern "C" fn pgp_signer_new
(errp: Option<&mut *mut crate::error::Error>,
inner: *mut writer::Stack<'static, Cookie>,
- signers: *const *mut Box<self::openpgp::crypto::Signer<
+ signers: *const *mut Box<dyn self::openpgp::crypto::Signer<
self::openpgp::packet::key::UnspecifiedRole>>,
signers_len: size_t,
hash_algo: u8)
@@ -183,7 +183,7 @@ pub extern "C" fn pgp_signer_new
pub extern "C" fn pgp_signer_new_detached
(errp: Option<&mut *mut crate::error::Error>,
inner: *mut writer::Stack<'static, Cookie>,
- signers: *const *mut Box<self::openpgp::crypto::Signer<
+ signers: *const *mut Box<dyn self::openpgp::crypto::Signer<
self::openpgp::packet::key::UnspecifiedRole>>,
signers_len: size_t,
hash_algo: u8)