diff --git a/macros/src/lib.rs b/macros/src/lib.rs index d0508db..9a660be 100644 --- a/macros/src/lib.rs +++ b/macros/src/lib.rs @@ -13,7 +13,7 @@ mod fn_datatype; mod specta; mod r#type; -#[proc_macro_derive(Type, attributes(specta, serde, doc))] +#[proc_macro_derive(Type, attributes(specta, serde))] pub fn derive_type(input: proc_macro::TokenStream) -> proc_macro::TokenStream { r#type::derive(input, "specta".into()).unwrap_or_else(|err| err.into_compile_error().into()) } @@ -21,7 +21,7 @@ pub fn derive_type(input: proc_macro::TokenStream) -> proc_macro::TokenStream { /// This macro is exposed from rspc as a wrapper around [Type] with a correct import path. /// This is exposed from here so rspc doesn't need a macro package for 4 lines of code. #[doc(hidden)] -#[proc_macro_derive(RSPCType, attributes(specta, serde, doc))] +#[proc_macro_derive(RSPCType, attributes(specta, serde))] pub fn derive_rspc_type(input: proc_macro::TokenStream) -> proc_macro::TokenStream { r#type::derive(input, "rspc::internal::specta".into()) .unwrap_or_else(|err| err.into_compile_error().into())