From 85b6f7e51ac7ed4114d65e0744350ce38802a129 Mon Sep 17 00:00:00 2001 From: Direktor799 Date: Fri, 8 Nov 2024 00:42:43 +0800 Subject: [PATCH] fix: vendor mech doc test --- cryptoki/src/mechanism/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cryptoki/src/mechanism/mod.rs b/cryptoki/src/mechanism/mod.rs index 869887b4..8b436f59 100644 --- a/cryptoki/src/mechanism/mod.rs +++ b/cryptoki/src/mechanism/mod.rs @@ -313,6 +313,8 @@ impl MechanismType { /// /// It maps to /// ```rust + /// use cryptoki::mechanism::MechanismType; + /// /// pub const CKM_SOME_CUSTOM_MECH: MechanismType = /// MechanismType::new_vendor_defined(0x00000001); /// ```