Skip to content

Commit

Permalink
Merge pull request #183 from stepancheg/allocated-bytes-no-headers
Browse files Browse the repository at this point in the history
Clarify allocated_bytes does not include headers
  • Loading branch information
fitzgen committed Nov 10, 2022
2 parents 10492c6 + 5805a29 commit c699cd1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Expand Up @@ -1678,6 +1678,10 @@ impl Bump {
/// on it only counting the sum of the sizes of the things
/// you've allocated in the arena.
///
/// The allocated bytes do not include the size of bumpalo's metadata,
/// so the amount of memory requested from the Rust allocator is higher
/// than the returned value.
///
/// ## Example
///
/// ```
Expand Down

0 comments on commit c699cd1

Please sign in to comment.