1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-02-03 18:02:27 +02:00

Capitalization in stack.md

This commit is contained in:
Fabian Bornhofen 2023-01-12 11:51:37 +01:00 committed by GitHub
parent 7203bb8a65
commit 45e57e9359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,9 +27,9 @@ fn main() {
* Mention that a `String` is backed by a `Vec`, so it has a capacity and length and can grow if mutable via reallocation on the heap.
* If students ask about it, you can mention that the underlying memory is heap allocated using the [System Allocator] and custom allocators can be implemented using the [Allocator Api]
* If students ask about it, you can mention that the underlying memory is heap allocated using the [System Allocator] and custom allocators can be implemented using the [Allocator API]
</details>
[System Allocator]: https://doc.rust-lang.org/std/alloc/struct.System.html
[Allocator Api]: https://doc.rust-lang.org/std/alloc/index.html
[Allocator API]: https://doc.rust-lang.org/std/alloc/index.html