Skip to content

Commit eabee96

Browse files
authored
Unrolled build for rust-lang#119836
Rollup merge of rust-lang#119836 - hi-rustin:rustin-patch-docs-blank-line, r=ChrisDenton chore: remove unnecessary blank line It seems no need to add an unnecessary line here.
2 parents 4d31ed4 + 90cc8ba commit eabee96

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

library/alloc/src/raw_vec.rs

-1
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,6 @@ fn handle_reserve(result: Result<(), TryReserveError>) {
552552
// `> isize::MAX` bytes will surely fail. On 32-bit and 16-bit we need to add
553553
// an extra guard for this in case we're running on a platform which can use
554554
// all 4GB in user-space, e.g., PAE or x32.
555-
556555
#[inline]
557556
fn alloc_guard(alloc_size: usize) -> Result<(), TryReserveError> {
558557
if usize::BITS < 64 && alloc_size > isize::MAX as usize {
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
thread 'main' panicked at library/alloc/src/raw_vec.rs:571:5:
1+
thread 'main' panicked at library/alloc/src/raw_vec.rs:570:5:
22
capacity overflow
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

0 commit comments

Comments
 (0)