Skip to content

Commit 57ab9e7

Browse files
committed
placeholder for documentation of allocator_api library feature.
Alpha-renamed `Allocator` to `Alloc`.
1 parent 23ab504 commit 57ab9e7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# `allocator_api`
2+
3+
The tracking issue for this feature is [#32838]
4+
5+
[#32838]: https://github.com/rust-lang/rust/issues/32838
6+
7+
------------------------
8+
9+
Sometimes you want the memory for one collection to use a different
10+
allocator than the memory for another collection. In this case,
11+
replacing the global allocator is not a workable option. Instead,
12+
you need to pass in an instance of an `Alloc` to each collection
13+
for which you want a custom allocator.
14+
15+
TBD

0 commit comments

Comments
 (0)