some changes

This commit is contained in:
2024-12-23 12:06:03 +01:00
parent a5f018d0a8
commit be9b3cc0df
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "osui-element" name = "osui-element"
version = "0.1.20" version = "0.1.21"
edition = "2021" edition = "2021"
description = "The element attribute for defining elements in OSUI" description = "The element attribute for defining elements in OSUI"
license = "Apache-2.0" license = "Apache-2.0"
+1 -1
View File
@@ -134,7 +134,7 @@ pub fn component(_args: TokenStream, input: TokenStream) -> TokenStream {
#(#struct_fields),* #(#struct_fields),*
} }
impl #lifetime #fn_name #lifetime { impl#lifetime Component for #lifetime #fn_name #lifetime {
fn create_element(self) -> #return_type { fn create_element(self) -> #return_type {
#code #code
} }