about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2021-01-05 17:52:24 -0800
committerCamelid <camelidcamel@gmail.com>2021-01-05 17:52:24 -0800
commit25a49641911c21fa3cc7071b507923e6214b71c3 (patch)
tree9b719dc8e7cdbb70a97445419ced611f4e589a73
parent4274ba40bda3af26042d44557da9d2cdb1567880 (diff)
downloadrust-25a49641911c21fa3cc7071b507923e6214b71c3.tar.gz
rust-25a49641911c21fa3cc7071b507923e6214b71c3.zip
Use heading for `std::prelude` and not `io::prelude`
The heading style for `std::prelude` is to be consistent with the
headings for `std` and `core`: `# The Rust Standard Library` and
`# The Rust Core Library`, respectively.
-rw-r--r--library/std/src/io/prelude.rs2
-rw-r--r--library/std/src/prelude/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/io/prelude.rs b/library/std/src/io/prelude.rs
index 700f166daf7..d80643101f2 100644
--- a/library/std/src/io/prelude.rs
+++ b/library/std/src/io/prelude.rs
@@ -1,4 +1,4 @@
-//! # The I/O Prelude
+//! The I/O Prelude.
 //!
 //! The purpose of this module is to alleviate imports of many common I/O traits
 //! by adding a glob import to the top of I/O heavy modules:
diff --git a/library/std/src/prelude/mod.rs b/library/std/src/prelude/mod.rs
index 08f3ff5f253..eb2095b8196 100644
--- a/library/std/src/prelude/mod.rs
+++ b/library/std/src/prelude/mod.rs
@@ -1,4 +1,4 @@
-//! The Rust Prelude.
+//! # The Rust Prelude
 //!
 //! Rust comes with a variety of things in its standard library. However, if
 //! you had to manually import every single thing that you used, it would be