forked fromrust-lang/rust
- Notifications
You must be signed in to change notification settings - Fork60
Commitaffa2f9
committed
Print
Since <rust-lang#121358>, `TypeId` isrepresented as a `(u64, u64)`. This also made the debug implementation alot larger, which is especially apparent with pretty formatting.Make this less noisy by converting the inner value back to a `u128` thenprinting as a tuple struct.Current: TypeId { t: (1403077013027291752, 4518903163082958039) } TypeId { t: ( 1403077013027291752, 4518903163082958039, ), }New: TypeId(25882202575019293479932656973818029271) TypeId( 25882202575019293479932656973818029271, )TypeId as au128 forDebug1 parent171f5db commitaffa2f9
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
| 605 | + | |
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
647 | 651 | | |
648 | 652 | | |
649 | 653 | | |
| |||
666 | 670 | | |
667 | 671 | | |
668 | 672 | | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
669 | 680 | | |
670 | 681 | | |
671 | 682 | | |
| |||
0 commit comments
Comments
(0)