aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;