From 38dff4784d78b4c216e54a5c7bc210d2fedc0928 Mon Sep 17 00:00:00 2001 From: Cormac Relf Date: Mon, 21 Jan 2019 20:04:55 +1100 Subject: [PATCH] add #[doc(hidden)] to __SalsaQueryDescriptor --- src/lib.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 3e169c85..111e650a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -523,13 +523,9 @@ macro_rules! database_storage { )* } - /// Identifies a query and its key. You are not meant to name - /// 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. + /// Identifies a query and its key. #[derive(Clone, Debug, PartialEq, Eq, Hash)] + #[doc(hidden)] $v struct __SalsaQueryDescriptor { kind: __SalsaQueryDescriptorKind }