aboutsummaryrefslogtreecommitdiff
path: root/macros/src
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-08-03 21:21:15 +0200
committerHampusM <hampus@hampusmat.com>2023-08-03 21:21:15 +0200
commitdce6bfc2321c0041fef5a2cb368ff45ba089198b (patch)
treeb35ea7ad8d9ae6dab859481ecc099d37dc3cba97 /macros/src
parent02d4820f7c93393d983f12fe157f5b77da317bcd (diff)
docs: remove panics sections from macros
Diffstat (limited to 'macros/src')
-rw-r--r--macros/src/lib.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/macros/src/lib.rs b/macros/src/lib.rs
index 18fe3c6..80274fd 100644
--- a/macros/src/lib.rs
+++ b/macros/src/lib.rs
@@ -68,9 +68,6 @@ const PACKAGE_VERSION: &str = env!("CARGO_PKG_VERSION");
/// **Default:** `new`<br>
/// Constructor method name.
///
-/// # Panics
-/// If the attributed item is not a impl.
-///
/// # Important
/// When no interface trait argument is given, you should either manually
/// declare the interface with the [`declare_interface!`] macro or use
@@ -256,9 +253,6 @@ pub fn injectable(args_stream: TokenStream, input_stream: TokenStream) -> TokenS
/// - `async` - Mark as async. Infers the `threadsafe` flag. The return type is
/// automatically put inside of a pinned boxed future.
///
-/// # Panics
-/// If the attributed item is not a type alias.
-///
/// # Examples
/// ```
/// # use syrette::factory;
@@ -374,9 +368,6 @@ pub fn factory(args_stream: TokenStream, input_stream: TokenStream) -> TokenStre
/// - `threadsafe` - Mark as threadsafe.
/// - `async` - Mark as async. Infers the `threadsafe` flag.
///
-/// # Panics
-/// If the provided arguments are invalid.
-///
/// # Examples
/// ```
/// # use syrette::declare_default_factory;