Carify on a semicolon in macro call
This commit is contained in:
@@ -1830,7 +1830,12 @@ impl NameRef {}
|
||||
/// }
|
||||
/// ❱
|
||||
///
|
||||
/// ❰ foo!() ❱
|
||||
/// // semicolon is a part of `MacroCall` when it is used in item positions
|
||||
/// ❰ foo!(); ❱
|
||||
///
|
||||
/// fn main() {
|
||||
/// ❰ foo!() ❱; // macro call expression position doesn't include the semi
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
/// [Reference](https://doc.rust-lang.org/reference/macros.html)
|
||||
|
||||
Reference in New Issue
Block a user