Fixing Into<u32> clippy
This commit is contained in:
+3
-3
@@ -43,9 +43,9 @@ impl From<u32> for Id {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Into<u32> for Id {
|
impl From<Id> for u32 {
|
||||||
fn into(self) -> u32 {
|
fn from(value: Id) -> Self {
|
||||||
self.0
|
value.0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
impl Display for Id {
|
impl Display for Id {
|
||||||
|
|||||||
Reference in New Issue
Block a user