From dce6bfc2321c0041fef5a2cb368ff45ba089198b Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 3 Aug 2023 21:21:15 +0200 Subject: docs: remove panics sections from macros --- macros/src/lib.rs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'macros') 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`
/// 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; -- cgit v1.2.3-18-g5258