diff --git a/Cargo.toml b/Cargo.toml index f5a4235..22e738e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "osui-element" -version = "0.1.20" +version = "0.1.21" edition = "2021" description = "The element attribute for defining elements in OSUI" license = "Apache-2.0" diff --git a/lib.rs b/lib.rs index 0aa400f..6deb9bd 100644 --- a/lib.rs +++ b/lib.rs @@ -134,7 +134,7 @@ pub fn component(_args: TokenStream, input: TokenStream) -> TokenStream { #(#struct_fields),* } - impl #lifetime #fn_name #lifetime { + impl#lifetime Component for #lifetime #fn_name #lifetime { fn create_element(self) -> #return_type { #code }