| ... | @@ -629,8 +629,6 @@ pub fn AlignedManaged(comptime T: type, comptime alignment: ?mem.Alignment) type | ... | @@ -629,8 +629,6 @@ pub fn AlignedManaged(comptime T: type, comptime alignment: ?mem.Alignment) type |
| 629 | /// Functions that potentially allocate memory accept an `Allocator` parameter. | 629 | /// Functions that potentially allocate memory accept an `Allocator` parameter. |
| 630 | /// Initialize directly or with `initCapacity`, and deinitialize with `deinit` | 630 | /// Initialize directly or with `initCapacity`, and deinitialize with `deinit` |
| 631 | /// or use `toOwnedSlice`. | 631 | /// or use `toOwnedSlice`. |
| 632 | /// | | |
| 633 | /// Default initialization of this struct is deprecated; use `.empty` instead. | | |
| 634 | pub fn Aligned(comptime T: type, comptime alignment: ?mem.Alignment) type { | 632 | pub fn Aligned(comptime T: type, comptime alignment: ?mem.Alignment) type { |
| 635 | if (alignment) |a| { | 633 | if (alignment) |a| { |
| 636 | if (a.toByteUnits() == @alignOf(T)) { | 634 | if (a.toByteUnits() == @alignOf(T)) { |