From 9f358a809037dc02b8552d54b7e3595ea5480486 Mon Sep 17 00:00:00 2001 From: Christopher Brickley Date: Thu, 26 Jan 2017 13:08:27 -0500 Subject: [PATCH] docs(TLS): set the TLS doctest to ignore The `cfg_attr` logic caused many false warnings from clippy. --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 76ed60d4..b1bf7279 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -61,8 +61,7 @@ //! //! Example usage with TLS: //! -#![cfg_attr(feature = "tls", doc = " ```rust,no_run")] -#![cfg_attr(not(feature = "tls"), doc = " ```ignore")] +//! ```ignore //! // required by `FutureClient` (not used in this example) //! #![feature(conservative_impl_trait, plugin)] //! #![plugin(tarpc_plugins)]