escape [] in attribute doc comment

This commit is contained in:
ConnorSkees 2020-04-04 19:07:00 -04:00
parent b44c064481
commit cdcb84b7b2

View File

@ -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,