From cdcb84b7b2eb2d6cecdfe24acd28111ff31ea301 Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Sat, 4 Apr 2020 19:07:00 -0400 Subject: [PATCH] escape [] in attribute doc comment --- src/selector/attribute.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/selector/attribute.rs b/src/selector/attribute.rs index 03e8488..8e87166 100644 --- a/src/selector/attribute.rs +++ b/src/selector/attribute.rs @@ -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,