escape [] in attribute doc comment
This commit is contained in:
parent
b44c064481
commit
cdcb84b7b2
@ -127,7 +127,7 @@ impl Display for Attribute {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
|
||||
enum AttributeKind {
|
||||
/// [attr]
|
||||
/// \[attr\]
|
||||
///
|
||||
/// Represents elements with an attribute name of `attr`
|
||||
Any,
|
||||
|
Loading…
x
Reference in New Issue
Block a user