|
13 | 13 | //! The Rust Standard Library is the foundation of portable Rust
|
14 | 14 | //! software, a set of minimal and battle-tested shared abstractions
|
15 | 15 | //! for the [broader Rust ecosystem](https://crates.io). It offers
|
16 |
| -//! core types (e.g. [`Vec`](vec/index.html) |
17 |
| -//! and [`Option`](option/index.html)), library-defined [operations on |
18 |
| -//! language primitives](#primitives) (e.g. [`u32`](u32/index.html) and |
19 |
| -//! [`str`](str/index.html)), [standard macros](#macros), |
| 16 | +//! core types, like [`Vec`](vec/index.html) |
| 17 | +//! and [`Option`](option/index.html), library-defined [operations on |
| 18 | +//! language primitives](#primitives), [standard macros](#macros), |
20 | 19 | //! [I/O](io/index.html) and [multithreading](thread/index.html), among
|
21 |
| -//! [many other lovely |
| 20 | +//! [many other |
22 | 21 | //! things](#what-is-in-the-standard-library-documentation?).
|
23 | 22 | //!
|
24 | 23 | //! `std` is available to all Rust crates by default, just as if each
|
|
65 | 64 | //!
|
66 | 65 | //! # What is in the standard library documentation?
|
67 | 66 | //!
|
68 |
| -//! Lots of stuff. Well, broadly four things actually. |
69 |
| -//! |
70 | 67 | //! First of all, The Rust Standard Library is divided into a number
|
71 | 68 | //! of focused modules, [all listed further down this page](#modules).
|
72 | 69 | //! These modules are the bedrock upon which all of Rust is forged,
|
|
89 | 86 | //!
|
90 | 87 | //! So for example there is a [page for the primitive type
|
91 | 88 | //! `i32`](primitive.i32.html) that lists all the methods that can be
|
92 |
| -//! called on 32-bit integers (mega useful), and there is a [page for |
| 89 | +//! called on 32-bit integers (very useful), and there is a [page for |
93 | 90 | //! the module `std::i32`](i32/index.html) that documents the constant
|
94 | 91 | //! values `MIN` and `MAX` (rarely useful).
|
95 | 92 | //!
|
|
99 | 96 | //! [`String`](string/struct.String.html) and
|
100 | 97 | //! [`Vec`](vec/struct.Vec.html) are actually calls to methods on
|
101 | 98 | //! `str` and `[T]` respectively, via [deref
|
102 |
| -//! coercions](../book/deref-coercions.html). *Accepting that |
103 |
| -//! primitive types are documented on their own pages will bring you a |
104 |
| -//! deep inner wisdom. Embrace it now before proceeding.* |
| 99 | +//! coercions](../book/deref-coercions.html). |
105 | 100 | //!
|
106 | 101 | //! Third, the standard library defines [The Rust
|
107 | 102 | //! Prelude](prelude/index.html), a small collection of items - mostly
|
|
0 commit comments