Skip to content

Commit 97ebd9a

Browse files
committed
ignore doc test.
1 parent 8b7cfa8 commit 97ebd9a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

rsocket/src/lib.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
#![allow(unused_imports)]
33
#![allow(unused_variables)]
44
#![allow(clippy::type_complexity)]
5+
#![doc(test(
6+
no_crate_inject,
7+
attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables))
8+
))]
59

610
//! Official RSocket Rust implementation using Tokio.
711
//!
@@ -31,7 +35,7 @@
3135
//!
3236
//! A simple TCP echo server:
3337
//!
34-
//! ```no_run
38+
//! ```no_run,ignore
3539
//! use rsocket_rust::prelude::*;
3640
//! use rsocket_rust_transport_tcp::TcpServerTransport;
3741
//! use std::error::Error;
@@ -59,7 +63,7 @@
5963
//!
6064
//! Connect to echo server above:
6165
//!
62-
//! ```no_run
66+
//! ```no_run,ignore
6367
//! use rsocket_rust::prelude::*;
6468
//! use rsocket_rust_transport_tcp::TcpClientTransport;
6569
//! use std::error::Error;

0 commit comments

Comments
 (0)