We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74a7d93 commit f611cecCopy full SHA for f611cec
rustfmt.toml
@@ -1 +1,2 @@
1
version = "Two"
2
+format_code_in_doc_comments = true
src/macros.rs
@@ -23,8 +23,8 @@
23
/// ```
24
/// # async_std::task::block_on(async {
25
/// #
26
-/// use async_std::prelude::*;
27
/// use async_std::io;
+/// use async_std::prelude::*;
28
/// use async_std::print;
29
///
30
/// print!("this ").await;
@@ -181,8 +181,8 @@ macro_rules! eprintln {
181
182
/// use std::cell::Cell;
183
184
-/// use async_std::task;
185
/// use async_std::prelude::*;
+/// use async_std::task;
186
187
/// task_local! {
188
/// static VAL: Cell<u32> = Cell::new(5);
0 commit comments