From 25a49641911c21fa3cc7071b507923e6214b71c3 Mon Sep 17 00:00:00 2001 From: Camelid Date: Tue, 5 Jan 2021 17:52:24 -0800 Subject: [PATCH] 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. --- library/std/src/io/prelude.rs | 2 +- library/std/src/prelude/mod.rs | 2 +- 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