This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 96555ba
committed
Auto merge of rust-lang#77261 - oli-obk:const_generic_array_serializer, r=matthewjasper
Deduplicate and generalize some (de/)serializer impls
I noticed this while implementing rust-lang#77227 and getting a "not implemented for [T; 16]" error. There's likely more things we can deduplicate in this file, but I didn't need any additional changes.2 files changed
+12
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
| 542 | + | |
| 543 | + | |
548 | 544 | | |
549 | 545 | | |
550 | 546 | | |
| |||
560 | 556 | | |
561 | 557 | | |
562 | 558 | | |
563 | | - | |
| 559 | + | |
564 | 560 | | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
| 561 | + | |
| 562 | + | |
571 | 563 | | |
572 | 564 | | |
573 | 565 | | |
574 | | - | |
575 | | - | |
| 566 | + | |
| 567 | + | |
576 | 568 | | |
577 | | - | |
578 | | - | |
| 569 | + | |
| 570 | + | |
579 | 571 | | |
580 | 572 | | |
581 | 573 | | |
| |||
589 | 581 | | |
590 | 582 | | |
591 | 583 | | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
| 584 | + | |
| 585 | + | |
598 | 586 | | |
599 | 587 | | |
600 | 588 | | |
| |||
0 commit comments