aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-08-14 11:29:10 +0200
committerMartin Fischer <martin@push-f.com>2023-08-19 06:41:55 +0200
commitbf4eb3abf287f3b24ecda648a0b85ef2a3686263 (patch)
treed5b28892e9a1e15340cc954237daa8d8ba070486
parent66213ffb859e0f66c973e315c91f53e519edaa16 (diff)
fix(docs): fix Error variant doc saying `$literal`
-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
),*
}