Fixing Into<u32> clippy
This commit is contained in:
1 parent
66f8a83dec
commit
ac1b516a88
1 file changed
+3
-3
+3
-3
@@ -43,9 +43,9 @@ impl From<u32> for Id {
|
||||
}
|
||||
}
|
||||
|
||||
impl Into<u32> for Id {
|
||||
fn into(self) -> u32 {
|
||||
self.0
|
||||
impl From<Id> for u32 {
|
||||
fn from(value: Id) -> Self {
|
||||
value.0
|
||||
}
|
||||
}
|
||||
impl Display for Id {
|
||||
|
||||
Reference in new issue
Block a user