Skip to content

Commit a3a2f9e

Browse files
committed
Avoid doctest errors
1 parent 5d5064b commit a3a2f9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
//!
139139
//! Call an async function from the main function:
140140
//!
141-
//! ```
141+
//! ```rust,ignore
142142
//! async fn say_hello() {
143143
//! println!("Hello, world!");
144144
//! }
@@ -151,7 +151,7 @@
151151
//!
152152
//! Await two futures concurrently, and return a tuple of their output:
153153
//!
154-
//! ```
154+
//! ```rust,ignore
155155
//! use async_std::prelude::*;
156156
//!
157157
//! #[async_std::main]
@@ -164,7 +164,7 @@
164164
//!
165165
//! Create a UDP server that echoes back each received message to the sender:
166166
//!
167-
//! ```no_run
167+
//! ```no_run,ignore
168168
//! use async_std::net::UdpSocket;
169169
//!
170170
//! #[async_std::main]

0 commit comments

Comments
 (0)