From 980bedd54ee4f0d0da3902fc22cfaebdfd3ff1b8 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 1 Aug 2022 18:14:12 +0200 Subject: docs: add factory feature notices --- macros/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'macros') diff --git a/macros/src/lib.rs b/macros/src/lib.rs index 86db787..9b97be6 100644 --- a/macros/src/lib.rs +++ b/macros/src/lib.rs @@ -90,6 +90,8 @@ pub fn injectable(args_stream: TokenStream, impl_stream: TokenStream) -> TokenSt /// Makes a type alias usable as a factory interface. /// +/// *This macro is only available if Syrette is built with the "factory" feature.* +/// /// # Panics /// If the attributed item is not a type alias. /// -- cgit v1.2.3-18-g5258