Skip to content

Commit f611cec

Browse files
Devashish DixitStjepan Glavina
Devashish Dixit
authored and
Stjepan Glavina
committed
Run cargo fmt for doc comments (#515)
1 parent 74a7d93 commit f611cec

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: rustfmt.toml

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
version = "Two"
2+
format_code_in_doc_comments = true

Diff for: src/macros.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
/// ```
2424
/// # async_std::task::block_on(async {
2525
/// #
26-
/// use async_std::prelude::*;
2726
/// use async_std::io;
27+
/// use async_std::prelude::*;
2828
/// use async_std::print;
2929
///
3030
/// print!("this ").await;
@@ -181,8 +181,8 @@ macro_rules! eprintln {
181181
/// #
182182
/// use std::cell::Cell;
183183
///
184-
/// use async_std::task;
185184
/// use async_std::prelude::*;
185+
/// use async_std::task;
186186
///
187187
/// task_local! {
188188
/// static VAL: Cell<u32> = Cell::new(5);

0 commit comments

Comments
 (0)