Skip to content

Commit 249e170

Browse files
committed
forget to remove some inclusions in examples
1 parent 0697c1b commit 249e170

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cryptoki/src/context/session_management.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl Pkcs11 {
4747
/// ```rust
4848
/// # fn main() -> testresult::TestResult {
4949
/// use cryptoki::session::Session;
50-
/// use cryptoki::context::{LibLoadingType, Pkcs11};
50+
/// use cryptoki::context::Pkcs11;
5151
///
5252
/// let mut client = Pkcs11::new(
5353
/// std::env::var("PKCS11_SOFTHSM2_MODULE")

cryptoki/src/session/object_management.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const MAX_OBJECT_COUNT: NonZeroUsize = unsafe { NonZeroUsize::new_unchecked(10)
2929
///
3030
/// ```no_run
3131
/// use cryptoki::context::CInitializeArgs;
32-
/// use cryptoki::context::{Pkcs11, LibLoadingType};
32+
/// use cryptoki::context::Pkcs11;
3333
/// use cryptoki::error::Error;
3434
/// use cryptoki::object::Attribute;
3535
/// use cryptoki::object::AttributeType;
@@ -278,7 +278,7 @@ impl Session {
278278
/// ```rust
279279
/// # fn main() -> testresult::TestResult {
280280
/// # use cryptoki::session::Session;
281-
/// # use cryptoki::context::{LibLoadingType, Pkcs11};
281+
/// # use cryptoki::context::Pkcs11;
282282
/// # use cryptoki::object::{Attribute, AttributeType, CertificateType, ObjectClass, ObjectHandle};
283283
/// #
284284
/// # let mut client = Pkcs11::new(
@@ -392,7 +392,7 @@ impl Session {
392392
/// types. If you wish, you may create a hash table simply by:
393393
///
394394
/// ```no_run
395-
/// use cryptoki::context::{LibLoadingType, Pkcs11};
395+
/// use cryptoki::context::Pkcs11;
396396
/// use cryptoki::context::CInitializeArgs;
397397
/// use cryptoki::object::AttributeType;
398398
/// use cryptoki::session::UserType;

0 commit comments

Comments
 (0)