# std/heap: fix documentation of raw_c_allocator · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/7ed499ec4549fa7304b822446b23cff993b8fa6f)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 7ed499ec4549fa7304b822446b23cff993b8fa6f

Requested commit: 7ed499ec4549fa7304b822446b23cff993b8fa6f

Commit: 7ed499ec4549fa7304b822446b23cff993b8fa6f

Tree: fe343d9e8e5f64102110f4ac8c206c5acfe78dbd

Author: Isaac Freund

Committer: Veikka Tuominen

## Message

```
std/heap: fix documentation of raw_c_allocator

This is not in fact safe to use with GeneralPurposeAllocator as GPA
requires align(page_size) but raw_c_allocator provides only
@alignOf(std.c.max_align_t).

```

## Parents

- [c234761eddc2fe932046767756b9e6df82a73b65](https://git.cafe/gitcafe/zig/commit/c234761eddc2fe932046767756b9e6df82a73b65?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/7ed499ec4549fa7304b822446b23cff993b8fa6f?format=markdown)
