rustdoc: Put bangs on the names of macros
This makes them a little easier to search for and makes it clearer that they're a macro and not an item to import. Closes #13852
This commit is contained in:
parent
50fb77f8ba
commit
0b7954fa80
@ -1367,7 +1367,7 @@ pub struct Macro {
|
||||
impl Clean<Item> for doctree::Macro {
|
||||
fn clean(&self) -> Item {
|
||||
Item {
|
||||
name: Some(self.name.clean()),
|
||||
name: Some(self.name.clean() + "!"),
|
||||
attrs: self.attrs.clean(),
|
||||
source: self.where.clean(),
|
||||
visibility: ast::Public.clean(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user