Skip to content

Commit 7017163

Browse files
authored
Rename Alloc trait to Allocator in README
Looks like the trait got renamed in rust-lang/rust#79286
1 parent 826df3a commit 7017163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This WG aims to:
44

55
* Define traits and other APIs for memory allocators,
6-
with the unstable [`std::alloc::Alloc`] trait as a starting point.
6+
with the unstable [`std::alloc::Allocator`] trait as a starting point.
77

88
* Make collections such as `Vec<T>` able to use any allocator,
99
most likely through an additional type parameter.
@@ -22,7 +22,7 @@ For lower-latency discussion, we have the [`t-libs/wg-allocators`] stream on Zul
2222
To try out different proposals, [Tim](https://github.com/TimDiekmann) has created a crate at [TimDiekmann/alloc-wg](https://github.com/TimDiekmann/alloc-wg). For more information on this consult the [readme](https://github.com/TimDiekmann/alloc-wg/blob/master/README.md).
2323

2424

25-
[`std::alloc::Alloc`]: https://doc.rust-lang.org/1.34.0/std/alloc/trait.Alloc.html
25+
[`std::alloc::Allocator`]: https://doc.rust-lang.org/std/alloc/trait.Allocator.html
2626
[RFC #1398]: https://github.com/rust-lang/rfcs/pull/1398 "Allocators, take III"
2727
[tracking issue #32838]: https://github.com/rust-lang/rust/issues/32838 "Allocator traits and std::heap"
2828
[tracking issue #42774]: https://github.com/rust-lang/rust/issues/42774 "Tracking issue for custom allocators in standard collections"

0 commit comments

Comments
 (0)