Commit f6a0bc1
authored
chore: remove an old
This resolves INT-4549.
The assertion was a sanity check and it essentially checked that the
"type size" should be greater than one. I replaced it with an
`debug_assert_eq!(align, min block size from config)`.
While we are there, I also replaced some `cell_size` being
`size_of::<T>()` or 1 with another value from config.assert!(address_space < NATIVE_AS) (#1948)1 parent 4869545 commit f6a0bc1
1 file changed
+14
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
693 | 705 | | |
694 | 706 | | |
695 | 707 | | |
| |||
781 | 793 | | |
782 | 794 | | |
783 | 795 | | |
784 | | - | |
785 | 796 | | |
786 | 797 | | |
787 | 798 | | |
788 | 799 | | |
789 | 800 | | |
790 | 801 | | |
791 | 802 | | |
792 | | - | |
| 803 | + | |
793 | 804 | | |
794 | 805 | | |
795 | 806 | | |
| |||
0 commit comments