]> git.lizzy.rs Git - rust.git/commit
Revert isize::MAX changes to Layout helpers
authorChristopher Durham <cad97@cad97.com>
Thu, 30 Jun 2022 03:17:15 +0000 (23:17 -0400)
committerChristopher Durham <cad97@cad97.com>
Thu, 30 Jun 2022 03:17:15 +0000 (23:17 -0400)
commitc4b4c64804ebbbbe00e82eedeb2fec7441459d35
tree3c087f4bdab807aaad3bea1107cd718ed4e6739c
parent7b58193f90185a5730732a727362576a9bdca26b
Revert isize::MAX changes to Layout helpers

The isize::MAX is enforced by the constructor; let it handle it.
library/core/src/alloc/layout.rs