diff options
Diffstat (limited to 'syrette_macros')
| -rw-r--r-- | syrette_macros/src/lib.rs | 7 | 
1 files changed, 6 insertions, 1 deletions
diff --git a/syrette_macros/src/lib.rs b/syrette_macros/src/lib.rs index 33c9b86..f686e1e 100644 --- a/syrette_macros/src/lib.rs +++ b/syrette_macros/src/lib.rs @@ -148,8 +148,13 @@ pub fn factory(_: TokenStream, type_alias_stream: TokenStream) -> TokenStream  ///  /// # Examples  /// ``` -/// declare_interface!(IClientService -> ClientService); +/// declare_interface!(ClientService -> IClientService); +///  /// ``` +/// +/// With `ClientService` in this case being the concrete +/// implementation and `IClientService` being the interface trait. +///  #[proc_macro]  pub fn declare_interface(input: TokenStream) -> TokenStream  {  | 
