We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b46bd80 commit c9963f8Copy full SHA for c9963f8
timely/src/dataflow/operators/core/capture/mod.rs
@@ -56,6 +56,9 @@
56
//! use timely::dataflow::operators::{Capture, ToStream, Inspect};
57
//! use timely::dataflow::operators::capture::{EventReader, EventWriter, Replay};
58
//!
59
+//! # #[cfg(miri)] fn main() {}
60
+//! # #[cfg(not(miri))]
61
+//! # fn main() {
62
//! timely::execute(timely::Config::thread(), |worker| {
63
//! let list = TcpListener::bind("127.0.0.1:8000").unwrap();
64
//! let send = TcpStream::connect("127.0.0.1:8000").unwrap();
@@ -75,6 +78,7 @@
75
78
//! .inspect(|x| println!("replayed: {:?}", x));
76
79
//! })
77
80
//! }).unwrap();
81
+//! # }
82
//! ```
83
84
pub use self::capture::Capture;
0 commit comments