We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9522993 commit 784b50cCopy full SHA for 784b50c
library/alloc/src/raw_vec.rs
@@ -552,7 +552,6 @@ fn handle_reserve(result: Result<(), TryReserveError>) {
552
// `> isize::MAX` bytes will surely fail. On 32-bit and 16-bit we need to add
553
// an extra guard for this in case we're running on a platform which can use
554
// all 4GB in user-space, e.g., PAE or x32.
555
-
556
#[inline]
557
fn alloc_guard(alloc_size: usize) -> Result<(), TryReserveError> {
558
if usize::BITS < 64 && alloc_size > isize::MAX as usize {
0 commit comments