From bf4eb3abf287f3b24ecda648a0b85ef2a3686263 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Mon, 14 Aug 2023 11:29:10 +0200 Subject: fix(docs): fix Error variant doc saying `$literal` --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 ),* } -- cgit v1.2.3