diff options
author | Martin Fischer <martin@push-f.com> | 2023-08-14 11:29:10 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2023-08-19 06:41:55 +0200 |
commit | bf4eb3abf287f3b24ecda648a0b85ef2a3686263 (patch) | |
tree | d5b28892e9a1e15340cc954237daa8d8ba070486 | |
parent | 66213ffb859e0f66c973e315c91f53e519edaa16 (diff) |
fix(docs): fix Error variant doc saying `$literal`
-rw-r--r-- | src/error.rs | 2 |
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 ),* } |