]> git.lizzy.rs Git - rust.git/commitdiff
Use heading for `std::prelude` and not `io::prelude`
authorCamelid <camelidcamel@gmail.com>
Wed, 6 Jan 2021 01:52:24 +0000 (17:52 -0800)
committerCamelid <camelidcamel@gmail.com>
Wed, 6 Jan 2021 01:52:24 +0000 (17:52 -0800)
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
library/std/src/prelude/mod.rs

index 700f166daf77d37ce2fdd3b2e343b7d4d117662f..d80643101f2ed9862d586b67dee4963e1bce7a03 100644 (file)
@@ -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:
index 08f3ff5f253c52904ae834a678e73cf0e0d000af..eb2095b819657ed5bcfa44d32b0142d2ab823f84 100644 (file)
@@ -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