From 2fbb7703663d00ebf71e178691e41ae66b9e2c61 Mon Sep 17 00:00:00 2001 From: kent-3 <100624004+kent-3@users.noreply.github.com> Date: Tue, 8 Oct 2024 23:14:56 -0400 Subject: [PATCH] fix doc test (ignore due to grpc feature gated module) --- secretrs/src/utils/encryption.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/secretrs/src/utils/encryption.rs b/secretrs/src/utils/encryption.rs index 95e2fe4..a03905b 100644 --- a/secretrs/src/utils/encryption.rs +++ b/secretrs/src/utils/encryption.rs @@ -164,7 +164,8 @@ impl EnigmaUtils { /// /// # Examples /// - /// ```no_run + #[cfg_attr(feature = "grpc", doc = " ```no_run")] + #[cfg_attr(not(feature = "grpc"), doc = " ```ignore")] /// # use anyhow::Result; /// # use secretrs::utils::EnigmaUtils; /// # use secretrs::grpc_clients::RegistrationQueryClient;