Skip to content

Commit 004560a

Browse files
committed
fix(docs): Mark set_ssl_acceptor doctest no_run
The example builds an SslAcceptor by calling openssl's set_private_key_file/set_certificate_file, which open the files at test time. CI doesn't have those PEM files, so the doctest panicked. Locally it passed only because gitignored windmark_private.pem and windmark_public.pem were left in the working tree.
1 parent e90996c commit 004560a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/router.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ impl Router {
660660
///
661661
/// # Examples
662662
///
663-
/// ```rust
663+
/// ```rust,no_run
664664
/// use openssl::ssl;
665665
///
666666
/// windmark::router::Router::new().set_ssl_acceptor({

0 commit comments

Comments
 (0)