diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-01-15 12:29:37 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-01-15 12:32:05 +0100 |
commit | ff3f571bb13750ad7088449ab84c2513d9cb6da5 (patch) | |
tree | 14b79279690851b922f04364c1578ca52cb7ff8c /net | |
parent | 4df1dba6c07cccc1039c1805d4bb308c935428a0 (diff) |
ffi,net: Update last users of KeyId to use KeyID.
Diffstat (limited to 'net')
-rw-r--r-- | net/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/src/lib.rs b/net/src/lib.rs index 63ac9c2b..0e5497b5 100644 --- a/net/src/lib.rs +++ b/net/src/lib.rs @@ -17,14 +17,14 @@ //! # extern crate openpgp; //! # extern crate sequoia_core; //! # extern crate sequoia_net; -//! # use openpgp::types::KeyId; +//! # use openpgp::KeyID; //! # use sequoia_core::Context; //! # use sequoia_net::{KeyServer, Result}; //! # fn main() { f().unwrap(); } //! # fn f() -> Result<()> { //! let ctx = Context::new("org.sequoia-pgp.example")?; //! let mut ks = KeyServer::sks_pool(&ctx)?; -//! let keyid = KeyId::from_hex("31855247603831FD").unwrap(); +//! let keyid = KeyID::from_hex("31855247603831FD").unwrap(); //! println!("{:?}", ks.get(&keyid)); //! Ok(()) //! # } |