diff options
| author | hecatia-elegua <108802164+hecatia-elegua@users.noreply.github.com> | 2023-04-02 16:03:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-02 16:03:42 +0200 |
| commit | 170822b01892d58cffc1694cf14fd2ea48040681 (patch) | |
| tree | 87a40d24950ccfbef7c3e2d5f70e84658aaee0f7 | |
| parent | c469936aac1b1060b3d520315305891fa8cced2c (diff) | |
| download | rust-170822b01892d58cffc1694cf14fd2ea48040681.tar.gz rust-170822b01892d58cffc1694cf14fd2ea48040681.zip | |
Add note for future me or others
| -rw-r--r-- | crates/hir-def/src/attr.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |
