Small code edit
This commit is contained in:
+3
-3
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user