Skip to content

Commit 1cd9435

Browse files
committed
style: fix lints
1 parent 1b273a5 commit 1cd9435

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

mbedtls/src/pkcs12/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ enum Pkcs12BagSet {
430430
EncryptedPkcs8(Vec<u8>),
431431
Pkcs8(Vec<u8>),
432432
Cert(CertBag),
433+
#[allow(dead_code)]
433434
UnknownBlob(Vec<u8>),
434435
// XXX CRL and Secret bags not supported
435436
//Crl(CrlBag),

mbedtls/src/rng/ctr_drbg.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ use crate::alloc_prelude::*;
1919
use crate::error::{IntoResult, Result};
2020
use crate::rng::{EntropyCallback, EntropyCallbackMut, RngCallback, RngCallbackMut};
2121

22+
#[allow(dead_code)]
2223
enum EntropyHolder {
2324
Shared(Arc<dyn EntropyCallback + 'static>),
2425
Unique(Box<dyn EntropyCallbackMut + 'static>),

0 commit comments

Comments
 (0)