Run cargo fmt for doc comments (#515)

This commit is contained in:
Devashish Dixit 2019-11-13 00:47:03 +08:00 committed by Stjepan Glavina
parent 74a7d93611
commit f611ceccc8
2 changed files with 3 additions and 2 deletions

View file

@ -1 +1,2 @@
version = "Two" version = "Two"
format_code_in_doc_comments = true

View file

@ -23,8 +23,8 @@
/// ``` /// ```
/// # async_std::task::block_on(async { /// # async_std::task::block_on(async {
/// # /// #
/// use async_std::prelude::*;
/// use async_std::io; /// use async_std::io;
/// use async_std::prelude::*;
/// use async_std::print; /// use async_std::print;
/// ///
/// print!("this ").await; /// print!("this ").await;
@ -181,8 +181,8 @@ macro_rules! eprintln {
/// # /// #
/// use std::cell::Cell; /// use std::cell::Cell;
/// ///
/// use async_std::task;
/// use async_std::prelude::*; /// use async_std::prelude::*;
/// use async_std::task;
/// ///
/// task_local! { /// task_local! {
/// static VAL: Cell<u32> = Cell::new(5); /// static VAL: Cell<u32> = Cell::new(5);