small change

This commit is contained in:
2024-11-21 20:06:24 +01:00
parent c96ff97a65
commit d3acf6cfc1
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.3" version = "0.1.4"
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
@@ -112,7 +112,7 @@ pub fn element(_args: TokenStream, input: TokenStream) -> TokenStream {
} }
} }
fn type_id(&self) -> std::any::TypeId { fn type_id(&self) -> std::any::TypeId {
std::any::TypeId::of::<Button>() std::any::TypeId::of::<Self>()
} }
} }
}; };