Small code edit

This commit is contained in:
2026-08-18 17:47:37 +03:00
parent 4187344a29
commit a4d77196d0
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -36,9 +36,9 @@ impl FromStr for Id {
}
}
impl Into<Id> for u32 {
fn into(self) -> Id {
Id(self)
impl From<u32> for Id {
fn from(value: u32) -> Self {
Id(value)
}
}