aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs
index 6090fdf..390b060 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -6,7 +6,7 @@ macro_rules! impl_error {
#[derive(Debug, Eq, PartialEq)]
pub enum Error {
$(
- #[doc = "This error corresponds to the `$literal` error found in the WHATWG spec."]
+ #[doc = concat!("This error corresponds to the `", $string, "` error found in the WHATWG spec.")]
$variant
),*
}