new const trait syntax

This commit is contained in:
2025-11-10 22:10:38 -05:00
parent 1c49db1b89
commit ebff93bec9
4 changed files with 31 additions and 8 deletions

View File

@@ -1,5 +1,4 @@
#[const_trait]
pub trait UiNum {
pub const trait UiNum {
fn to_f32(self) -> f32;
}