summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-01-15 12:29:37 +0100
committerJustus Winter <justus@sequoia-pgp.org>2018-01-15 12:32:05 +0100
commitff3f571bb13750ad7088449ab84c2513d9cb6da5 (patch)
tree14b79279690851b922f04364c1578ca52cb7ff8c /net
parent4df1dba6c07cccc1039c1805d4bb308c935428a0 (diff)
ffi,net: Update last users of KeyId to use KeyID.
Diffstat (limited to 'net')
-rw-r--r--net/src/lib.rs4
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(())
//! # }