Skip to content

Commit c9963f8

Browse files
committed
missing guard
Signed-off-by: Moritz Hoffmann <[email protected]>
1 parent b46bd80 commit c9963f8

File tree

1 file changed

+4
-0
lines changed
  • timely/src/dataflow/operators/core/capture

1 file changed

+4
-0
lines changed

timely/src/dataflow/operators/core/capture/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
//! use timely::dataflow::operators::{Capture, ToStream, Inspect};
5757
//! use timely::dataflow::operators::capture::{EventReader, EventWriter, Replay};
5858
//!
59+
//! # #[cfg(miri)] fn main() {}
60+
//! # #[cfg(not(miri))]
61+
//! # fn main() {
5962
//! timely::execute(timely::Config::thread(), |worker| {
6063
//! let list = TcpListener::bind("127.0.0.1:8000").unwrap();
6164
//! let send = TcpStream::connect("127.0.0.1:8000").unwrap();
@@ -75,6 +78,7 @@
7578
//! .inspect(|x| println!("replayed: {:?}", x));
7679
//! })
7780
//! }).unwrap();
81+
//! # }
7882
//! ```
7983
8084
pub use self::capture::Capture;

0 commit comments

Comments
 (0)