From 170822b01892d58cffc1694cf14fd2ea48040681 Mon Sep 17 00:00:00 2001 From: hecatia-elegua <108802164+hecatia-elegua@users.noreply.github.com> Date: Sun, 2 Apr 2023 16:03:42 +0200 Subject: Add note for future me or others --- crates/hir-def/src/attr.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/hir-def/src/attr.rs b/crates/hir-def/src/attr.rs index db1c6bc8181..b32479a3f46 100644 --- a/crates/hir-def/src/attr.rs +++ b/crates/hir-def/src/attr.rs @@ -274,6 +274,7 @@ pub enum DocAtom { KeyValue { key: SmolStr, value: SmolStr }, } +// Adapted from `CfgExpr` parsing code #[derive(Debug, Clone, PartialEq, Eq, Hash)] // #[cfg_attr(test, derive(derive_arbitrary::Arbitrary))] pub enum DocExpr { -- cgit 1.4.1-3-g733a5