aboutsummaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-10-01 17:23:33 +0200
committerHampusM <hampus@hampusmat.com>2022-10-01 17:23:33 +0200
commit5d2ba01481727f379761124d9aa87f9d47ef77fc (patch)
tree282d50be635e16120034066c644d48d1d7b0a3cc /macros
parent41ad17ad928f375daef108e0de536b0f2e8fa239 (diff)
docs: fix unresolved link to TransientPtr
Diffstat (limited to 'macros')
-rw-r--r--macros/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/macros/src/lib.rs b/macros/src/lib.rs
index 172a113..2099810 100644
--- a/macros/src/lib.rs
+++ b/macros/src/lib.rs
@@ -187,6 +187,8 @@ pub fn injectable(args_stream: TokenStream, impl_stream: TokenStream) -> TokenSt
/// #[factory]
/// type IConfiguratorFactory = dyn Fn(Vec<String>) -> dyn IConfigurator;
/// ```
+///
+/// [`TransientPtr`]: https://docs.rs/syrette/latest/syrette/ptr/type.TransientPtr.html
#[proc_macro_attribute]
#[cfg(feature = "factory")]
pub fn factory(args_stream: TokenStream, type_alias_stream: TokenStream) -> TokenStream