diff options
author | Joseph Birr-Pixton <jpixton@gmail.com> | 2016-08-28 15:10:50 +0100 |
---|---|---|
committer | Joseph Birr-Pixton <jpixton@gmail.com> | 2016-08-28 15:10:50 +0100 |
commit | 4d24c6bf5201bc61b23d91bedc356c21fd7453e8 (patch) | |
tree | fbc573b88f7d76725bae22a9f3fc8bd3b1c82233 | |
parent | 3da6ce6b43c5198d5fa623f533601dfade0a0681 (diff) |
fix doctestv/0.1.1
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -94,9 +94,7 @@ //! The recommended way is to depend on the `webpki_roots` crate which contains //! the Mozilla set of root certificates. //! -//! ```no_run -//! # let mut config = rustls::ClientConfig::new(); -//! # extern crate webpki_roots; +//! ```rust,ignore //! config.root_store.add_trust_anchors(&webpki_roots::ROOTS); //! ``` //! |