mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
18 lines
394 B
Rust
18 lines
394 B
Rust
// rustfmt-normalize_comments: true
|
|
|
|
// Do not unindent macro calls in comment with unformattable syntax.
|
|
//! ```rust
|
|
//! let x = 3 ;
|
|
//! some_macro!(pub fn fn foo() (
|
|
//! println!("Don't unindent me!");
|
|
//! ));
|
|
//! ```
|
|
|
|
// Format items that appear as arguments of macro call.
|
|
//! ```rust
|
|
//! let x = 3 ;
|
|
//! some_macro!(pub fn foo() {
|
|
//! println!("Don't unindent me!");
|
|
//! });
|
|
//! ```
|