Revert "Remove spotlight usage"

This reverts commit 13c6d5819a.
This commit is contained in:
Manish Goregaokar
2020-07-06 12:54:33 -07:00
parent 98450757e5
commit 3cecd6003b
7 changed files with 9 additions and 0 deletions

View File

@@ -499,6 +499,7 @@ where
/// [`&str`]: ../../std/primitive.str.html
/// [slice]: ../../std/primitive.slice.html
#[stable(feature = "rust1", since = "1.0.0")]
#[doc(spotlight)]
pub trait Read {
/// Pull some bytes from this source into the specified buffer, returning
/// how many bytes were read.
@@ -1261,6 +1262,7 @@ impl Initializer {
///
/// [`write_all`]: #method.write_all
#[stable(feature = "rust1", since = "1.0.0")]
#[doc(spotlight)]
pub trait Write {
/// Write a buffer into this writer, returning how many bytes were written.
///