small change

This commit is contained in:
2024-11-21 19:54:10 +01:00
parent 7b5df92b18
commit 3dae360483
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.1" version = "0.1.2"
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) -> TypeId { fn type_id(&self) -> TypeId {
TypeId::of::<Button>() std::any::TypeId::of::<Button>()
} }
} }
}; };