@@ -211,28 +211,28 @@ impl fmt::Debug for VirtAddr {
211
211
impl fmt:: Binary for VirtAddr {
212
212
#[ inline]
213
213
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
214
- self . 0 . fmt ( f)
214
+ fmt :: Binary :: fmt ( & self . 0 , f)
215
215
}
216
216
}
217
217
218
218
impl fmt:: LowerHex for VirtAddr {
219
219
#[ inline]
220
220
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
221
- self . 0 . fmt ( f)
221
+ fmt :: LowerHex :: fmt ( & self . 0 , f)
222
222
}
223
223
}
224
224
225
225
impl fmt:: Octal for VirtAddr {
226
226
#[ inline]
227
227
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
228
- self . 0 . fmt ( f)
228
+ fmt :: Octal :: fmt ( & self . 0 , f)
229
229
}
230
230
}
231
231
232
232
impl fmt:: UpperHex for VirtAddr {
233
233
#[ inline]
234
234
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
235
- self . 0 . fmt ( f)
235
+ fmt :: UpperHex :: fmt ( & self . 0 , f)
236
236
}
237
237
}
238
238
@@ -418,28 +418,28 @@ impl fmt::Debug for PhysAddr {
418
418
impl fmt:: Binary for PhysAddr {
419
419
#[ inline]
420
420
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
421
- self . 0 . fmt ( f)
421
+ fmt :: Binary :: fmt ( & self . 0 , f)
422
422
}
423
423
}
424
424
425
425
impl fmt:: LowerHex for PhysAddr {
426
426
#[ inline]
427
427
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
428
- self . 0 . fmt ( f)
428
+ fmt :: LowerHex :: fmt ( & self . 0 , f)
429
429
}
430
430
}
431
431
432
432
impl fmt:: Octal for PhysAddr {
433
433
#[ inline]
434
434
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
435
- self . 0 . fmt ( f)
435
+ fmt :: Octal :: fmt ( & self . 0 , f)
436
436
}
437
437
}
438
438
439
439
impl fmt:: UpperHex for PhysAddr {
440
440
#[ inline]
441
441
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
442
- self . 0 . fmt ( f)
442
+ fmt :: UpperHex :: fmt ( & self . 0 , f)
443
443
}
444
444
}
445
445
0 commit comments