Skip to content

Commit d33cca9

Browse files
committed
Rollup merge of #27473 - brson:stddocs, r=Gankro
This removes some of the more casual language. The only outright goofiness I couldn't bear to remove is "these modules are the bedrock upon which all of Rust is forged, and they have mighty names like `std::slice` and `std::cmp`", which I believe the greatest sentence I have ever created.
2 parents 0860b29 + ffa2121 commit d33cca9

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

src/libstd/lib.rs

+6-11
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@
1313
//! The Rust Standard Library is the foundation of portable Rust
1414
//! software, a set of minimal and battle-tested shared abstractions
1515
//! 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),
2019
//! [I/O](io/index.html) and [multithreading](thread/index.html), among
21-
//! [many other lovely
20+
//! [many other
2221
//! things](#what-is-in-the-standard-library-documentation?).
2322
//!
2423
//! `std` is available to all Rust crates by default, just as if each
@@ -65,8 +64,6 @@
6564
//!
6665
//! # What is in the standard library documentation?
6766
//!
68-
//! Lots of stuff. Well, broadly four things actually.
69-
//!
7067
//! First of all, The Rust Standard Library is divided into a number
7168
//! of focused modules, [all listed further down this page](#modules).
7269
//! These modules are the bedrock upon which all of Rust is forged,
@@ -89,7 +86,7 @@
8986
//!
9087
//! So for example there is a [page for the primitive type
9188
//! `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
9390
//! the module `std::i32`](i32/index.html) that documents the constant
9491
//! values `MIN` and `MAX` (rarely useful).
9592
//!
@@ -99,9 +96,7 @@
9996
//! [`String`](string/struct.String.html) and
10097
//! [`Vec`](vec/struct.Vec.html) are actually calls to methods on
10198
//! `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).
105100
//!
106101
//! Third, the standard library defines [The Rust
107102
//! Prelude](prelude/index.html), a small collection of items - mostly

0 commit comments

Comments
 (0)