add #[doc(hidden)] to __SalsaQueryDescriptor

This commit is contained in:
Cormac Relf 2019-01-21 20:04:55 +11:00
parent 827828d6b5
commit 38dff4784d

View file

@ -523,13 +523,9 @@ macro_rules! database_storage {
)* )*
} }
/// Identifies a query and its key. You are not meant to name /// Identifies a query and its key.
/// this type directly or use its fields etc. It is a
/// **private query descriptor type generated by salsa** and
/// its exact structure is subject to change. Sadly, I don't
/// know any way to hide this with hygiene, so use `__`
/// instead.
#[derive(Clone, Debug, PartialEq, Eq, Hash)] #[derive(Clone, Debug, PartialEq, Eq, Hash)]
#[doc(hidden)]
$v struct __SalsaQueryDescriptor { $v struct __SalsaQueryDescriptor {
kind: __SalsaQueryDescriptorKind kind: __SalsaQueryDescriptorKind
} }