Skip to content

Commit

Permalink
docs(TLS): set the TLS doctest to ignore
Browse files Browse the repository at this point in the history
The `cfg_attr` logic caused many false warnings from clippy.
  • Loading branch information
compressed committed Jan 26, 2017
1 parent 4831c27 commit 9f358a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 9f358a8

Please sign in to comment.