1
Fork 0

Remove spotlight usage

This commit is contained in:
Guillaume Gomez 2020-02-27 14:38:30 +01:00
parent 1244ced958
commit 13c6d5819a
7 changed files with 0 additions and 9 deletions

View file

@ -24,7 +24,6 @@ use crate::task::{Context, Poll};
/// `.await` the value. /// `.await` the value.
/// ///
/// [`Waker`]: ../task/struct.Waker.html /// [`Waker`]: ../task/struct.Waker.html
#[doc(spotlight)]
#[must_use = "futures do nothing unless you `.await` or poll them"] #[must_use = "futures do nothing unless you `.await` or poll them"]
#[stable(feature = "futures_api", since = "1.36.0")] #[stable(feature = "futures_api", since = "1.36.0")]
#[lang = "future_trait"] #[lang = "future_trait"]

View file

@ -92,7 +92,6 @@ fn _assert_is_object_safe(_: &dyn Iterator<Item = ()>) {}
label = "`{Self}` is not an iterator", label = "`{Self}` is not an iterator",
message = "`{Self}` is not an iterator" message = "`{Self}` is not an iterator"
)] )]
#[doc(spotlight)]
#[must_use = "iterators are lazy and do nothing unless consumed"] #[must_use = "iterators are lazy and do nothing unless consumed"]
pub trait Iterator { pub trait Iterator {
/// The type of the elements being iterated over. /// The type of the elements being iterated over.

View file

@ -90,7 +90,6 @@
#![feature(custom_inner_attributes)] #![feature(custom_inner_attributes)]
#![feature(decl_macro)] #![feature(decl_macro)]
#![feature(doc_cfg)] #![feature(doc_cfg)]
#![feature(doc_spotlight)]
#![feature(extern_types)] #![feature(extern_types)]
#![feature(fundamental)] #![feature(fundamental)]
#![feature(intrinsics)] #![feature(intrinsics)]

View file

@ -245,7 +245,6 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
include => external_doc include => external_doc
cfg => doc_cfg cfg => doc_cfg
masked => doc_masked masked => doc_masked
spotlight => doc_spotlight
alias => doc_alias alias => doc_alias
keyword => doc_keyword keyword => doc_keyword
); );

View file

@ -269,7 +269,6 @@ symbols! {
doc_cfg, doc_cfg,
doc_keyword, doc_keyword,
doc_masked, doc_masked,
doc_spotlight,
doctest, doctest,
document_private_items, document_private_items,
dotdoteq_in_patterns, dotdoteq_in_patterns,
@ -688,7 +687,6 @@ symbols! {
Some, Some,
specialization, specialization,
speed, speed,
spotlight,
sse4a_target_feature, sse4a_target_feature,
stable, stable,
staged_api, staged_api,

View file

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

View file

@ -256,7 +256,6 @@
#![feature(doc_cfg)] #![feature(doc_cfg)]
#![feature(doc_keyword)] #![feature(doc_keyword)]
#![feature(doc_masked)] #![feature(doc_masked)]
#![feature(doc_spotlight)]
#![feature(dropck_eyepatch)] #![feature(dropck_eyepatch)]
#![feature(duration_constants)] #![feature(duration_constants)]
#![feature(exact_size_is_empty)] #![feature(exact_size_is_empty)]