2018-03-09 02:09:56 -06:00
|
|
|
// rustfmt-normalize_comments: true
|
2019-05-10 08:22:52 -05:00
|
|
|
// rustfmt-format_code_in_doc_comments: true
|
2018-03-09 02:09:56 -06:00
|
|
|
|
|
|
|
// Do not unindent macro calls in comment with unformattable syntax.
|
|
|
|
//! ```rust
|
2018-06-07 01:20:01 -05:00
|
|
|
//! let x = 3 ;
|
2018-03-09 02:09:56 -06:00
|
|
|
//! some_macro!(pub fn fn foo() (
|
|
|
|
//! println!("Don't unindent me!");
|
|
|
|
//! ));
|
|
|
|
//! ```
|
|
|
|
|
|
|
|
// Format items that appear as arguments of macro call.
|
|
|
|
//! ```rust
|
|
|
|
//! let x = 3;
|
2018-10-07 23:38:01 -05:00
|
|
|
//! some_macro!(
|
|
|
|
//! pub fn foo() {
|
|
|
|
//! println!("Don't unindent me!");
|
|
|
|
//! }
|
|
|
|
//! );
|
2018-03-09 02:09:56 -06:00
|
|
|
//! ```
|