From 8948e58b45c1fa03dfaf5f116bc12eb2073c7eb1 Mon Sep 17 00:00:00 2001 From: Yuxiang Cao Date: Fri, 26 Jan 2024 10:59:30 -0800 Subject: [PATCH] fix lint --- mbedtls/src/rng/ctr_drbg.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/mbedtls/src/rng/ctr_drbg.rs b/mbedtls/src/rng/ctr_drbg.rs index a3a378234..e0e250a91 100644 --- a/mbedtls/src/rng/ctr_drbg.rs +++ b/mbedtls/src/rng/ctr_drbg.rs @@ -19,6 +19,7 @@ use crate::alloc_prelude::*; use crate::error::{IntoResult, Result}; use crate::rng::{EntropyCallback, EntropyCallbackMut, RngCallback, RngCallbackMut}; +#[allow(dead_code)] enum EntropyHolder { Shared(Arc), Unique(Box),