Bug 1359603 - Correct typo about pseudo_element macros. r=heycam draft
authorJ. Ryan Stinnett <jryans@gmail.com>
Fri, 21 Apr 2017 11:46:01 -0500
changeset 568930 3f40c6ad0fdd4d6928d108d6644e3c6a64f860db
parent 568812 df0562354e0b71d848eead544e31644cd21c3390
child 568931 73fa2a10106b7cdfb8dc3d8072934f34abaef4e2
push id56024
push userbmo:jryans@gmail.com
push dateWed, 26 Apr 2017 19:05:54 +0000
reviewersheycam
bugs1359603
milestone55.0a1
Bug 1359603 - Correct typo about pseudo_element macros. r=heycam MozReview-Commit-ID: 3PDBeOdsX4D
servo/components/style/binding_tools/regen_atoms.py
servo/components/style/gecko/generated/gecko_pseudo_element_helper.rs
--- a/servo/components/style/binding_tools/regen_atoms.py
+++ b/servo/components/style/binding_tools/regen_atoms.py
@@ -218,17 +218,17 @@ PSEUDO_ELEMENT_HEADER = """
  *
  * Also, it guarantees the property that normal pseudo-elements are processed
  * before anonymous boxes.
  *
  * Expected usage is as follows:
  *
  * ```
  * fn have_to_use_pseudo_elements() {
- *     macro_rules pseudo_element! {
+ *     macro_rules! pseudo_element {
  *         ($pseudo_str_with_colon:expr, $pseudo_atom:expr, $is_anon_box:true) => {{
  *             // Stuff stuff stuff.
  *         }}
  *     }
  *     include!("path/to/helper.rs")
  * }
  * ```
  *
--- a/servo/components/style/gecko/generated/gecko_pseudo_element_helper.rs
+++ b/servo/components/style/gecko/generated/gecko_pseudo_element_helper.rs
@@ -12,17 +12,17 @@
  *
  * Also, it guarantees the property that normal pseudo-elements are processed
  * before anonymous boxes.
  *
  * Expected usage is as follows:
  *
  * ```
  * fn have_to_use_pseudo_elements() {
- *     macro_rules pseudo_element! {
+ *     macro_rules! pseudo_element {
  *         ($pseudo_str_with_colon:expr, $pseudo_atom:expr, $is_anon_box:true) => {{
  *             // Stuff stuff stuff.
  *         }}
  *     }
  *     include!("path/to/helper.rs")
  * }
  * ```
  *