diff options
author | HampusM <hampus@hampusmat.com> | 2022-08-01 18:14:12 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-08-01 18:14:12 +0200 |
commit | 980bedd54ee4f0d0da3902fc22cfaebdfd3ff1b8 (patch) | |
tree | b09f42e9928d6b41507d924307b7ecd8ffbeb6a8 /macros/src/lib.rs | |
parent | eeef21b0b78aa7970e0ab93f37b3b6bba5391426 (diff) |
docs: add factory feature notices
Diffstat (limited to 'macros/src/lib.rs')
-rw-r--r-- | macros/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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. /// |