summaryrefslogtreecommitdiffstats
path: root/examples/guide-the-keystore.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-02-06 11:23:36 +0100
committerJustus Winter <justus@sequoia-pgp.org>2018-02-06 11:23:36 +0100
commitb2f1c2b6a0b72113d395ff9465e837416f28df0f (patch)
treede2c6ddbf9b1275fb7753b717f16df3fd220ba69 /examples/guide-the-keystore.rs
parent0e976ba17b2670b2c50b80b972aab496b3767836 (diff)
openpgp: Improve armored! macro.
- Use $crate to refer to the current crate making this macro easier to use. - Simplify examples accordingly.
Diffstat (limited to 'examples/guide-the-keystore.rs')
-rw-r--r--examples/guide-the-keystore.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/guide-the-keystore.rs b/examples/guide-the-keystore.rs
index effd9e71..0baa8a05 100644
--- a/examples/guide-the-keystore.rs
+++ b/examples/guide-the-keystore.rs
@@ -1,7 +1,7 @@
//! https://preview.sequoia-pgp.org/guide/the-keystore/
-#[macro_use] extern crate openpgp; // For armored!
-use openpgp::armor; // For armored!
+#[macro_use] // For armored!
+extern crate openpgp;
extern crate sequoia;
use sequoia::{core, store};