mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-01-21 21:29:10 +02:00
Update std.md
Addition a mention of existence of `core` Standard Library.
This commit is contained in:
parent
66509f2f3e
commit
567a570d59
@ -19,3 +19,12 @@ The common vocabulary types include:
|
||||
* [`Box`](std/box.md): an owned pointer for heap-allocated data.
|
||||
|
||||
* [`Rc`](std/rc.md): a shared reference-counted pointer for heap-allocated data.
|
||||
|
||||
<details>
|
||||
|
||||
* In fact, Rust contains two layers of the Standard Library: `core` and `std`.
|
||||
* `core` includes the most basic types and functions that don't depend on `libc`, allocator or
|
||||
even a presense of the operating system.
|
||||
* Embedded Rust applications often only use `core`.
|
||||
|
||||
</details>
|
||||
|
Loading…
x
Reference in New Issue
Block a user