Skip to content

Commit 8e73b94

Browse files
committed
disable doctest
1 parent 1bf35da commit 8e73b94

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,6 @@ x509-parser = "0.16"
4343
[dev-dependencies]
4444
hex-literal = "0.4"
4545
rustls-pemfile = "2"
46+
47+
[lib]
48+
doctest = false

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
//!
3434
//! # Example
3535
//!
36-
//! ```rust,no_run
36+
//! ```rust,ignore
3737
//! // Inner service that provides certificates to Rustls, can be anything
3838
//! let ckey: CertifiedKey = ...;
3939
//! let mut inner = rustls::server::ResolvesServerCertUsingSni::new();

0 commit comments

Comments
 (0)