Skip to content

Commit 567a570

Browse files
igor-petrukqwandor
authored andcommitted
Update std.md
Addition a mention of existence of `core` Standard Library.
1 parent 66509f2 commit 567a570

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/std.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,12 @@ The common vocabulary types include:
1919
* [`Box`](std/box.md): an owned pointer for heap-allocated data.
2020

2121
* [`Rc`](std/rc.md): a shared reference-counted pointer for heap-allocated data.
22+
23+
<details>
24+
25+
* In fact, Rust contains two layers of the Standard Library: `core` and `std`.
26+
* `core` includes the most basic types and functions that don't depend on `libc`, allocator or
27+
even a presense of the operating system.
28+
* Embedded Rust applications often only use `core`.
29+
30+
</details>

0 commit comments

Comments
 (0)