mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 06:28:20 +03:00
Fix typo in custom allocator docs.
This commit is contained in:
@@ -160,7 +160,7 @@ compiler errors:
|
||||
|
||||
* Any one artifact may only be linked to at most one allocator. Binaries,
|
||||
dylibs, and staticlibs must link to exactly one allocator, and if none have
|
||||
been explicitly chosen the compiler will choose one. On the other than rlibs
|
||||
been explicitly chosen the compiler will choose one. On the other hand rlibs
|
||||
do not need to link to an allocator (but still can).
|
||||
|
||||
* A consumer of an allocator is tagged with `#![needs_allocator]` (e.g. the
|
||||
|
||||
Reference in New Issue
Block a user