Skip to content

Commit

Permalink
Rollup merge of rust-lang#57456 - fintelia:patch-4, r=dtolnay
Browse files Browse the repository at this point in the history
RawVec doesn't always abort on allocation errors
  • Loading branch information
Centril authored Jan 15, 2019
2 parents 5fa44c4 + aa9bc68 commit 77727fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/raw_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use boxed::Box;
/// * Catches all overflows in capacity computations (promotes them to "capacity overflow" panics)
/// * Guards against 32-bit systems allocating more than isize::MAX bytes
/// * Guards against overflowing your length
/// * Aborts on OOM
/// * Aborts on OOM or calls handle_alloc_error as applicable
/// * Avoids freeing Unique::empty()
/// * Contains a ptr::Unique and thus endows the user with all related benefits
///
Expand Down

0 comments on commit 77727fe

Please sign in to comment.