summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWiktor Kwapisiewicz <wiktor@metacode.biz>2020-07-24 09:50:37 +0200
committerWiktor Kwapisiewicz <wiktor@metacode.biz>2020-07-24 13:58:21 +0200
commitf858e812ddd7bb1e85870ca003a89c33199d825f (patch)
treeaa7c68f44d7f29c407e61911d01c54615b68f610
parent204c3de9c99abfa716b9180b9adc222c84242d47 (diff)
openpgp: Fix hiding imports in doctests.
-rw-r--r--openpgp/src/cert/bindings.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/cert/bindings.rs b/openpgp/src/cert/bindings.rs
index a1b19278..57c96038 100644
--- a/openpgp/src/cert/bindings.rs
+++ b/openpgp/src/cert/bindings.rs
@@ -220,7 +220,7 @@ impl UserAttribute {
///
/// ```
/// # use sequoia_openpgp::{*, packet::prelude::*, types::*, cert::*,
- /// packet::user_attribute::*};
+ /// # packet::user_attribute::*};
/// # f().unwrap();
/// # fn f() -> Result<()> {
/// // Generate a Cert, and create a keypair from the primary key.
@@ -278,7 +278,7 @@ impl UserAttribute {
///
/// ```
/// # use sequoia_openpgp::{*, packet::prelude::*, types::*, cert::*,
- /// packet::user_attribute::*};
+ /// # packet::user_attribute::*};
/// # f().unwrap();
/// # fn f() -> Result<()> {
/// // Generate a Cert, and create a keypair from the primary key.