Merge pull request #191 from vallentin/patch-1

Removed repeated word
pull/194/head
Mazdak Farrokhzad 5 years ago committed by GitHub
commit ae9b87fed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -37,7 +37,7 @@ that, we'll need to use the rest of the heap APIs. These basically allow us to
talk directly to Rust's allocator (jemalloc by default). talk directly to Rust's allocator (jemalloc by default).
We'll also need a way to handle out-of-memory (OOM) conditions. The standard We'll also need a way to handle out-of-memory (OOM) conditions. The standard
library calls `std::alloc::oom()`, which in turn calls the the `oom` langitem, library calls `std::alloc::oom()`, which in turn calls the `oom` langitem,
which aborts the program in a platform-specific manner. which aborts the program in a platform-specific manner.
The reason we abort and don't panic is because unwinding can cause allocations The reason we abort and don't panic is because unwinding can cause allocations
to happen, and that seems like a bad thing to do when your allocator just came to happen, and that seems like a bad thing to do when your allocator just came

Loading…
Cancel
Save