some changes
This commit is contained in:
+1
-1
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user