From b2f1c2b6a0b72113d395ff9465e837416f28df0f Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 6 Feb 2018 11:23:36 +0100 Subject: openpgp: Improve armored! macro. - Use $crate to refer to the current crate making this macro easier to use. - Simplify examples accordingly. --- examples/guide-the-keystore.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/guide-the-keystore.rs') 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}; -- cgit v1.2.3