Skip to content

Commit 13c6d58

Browse files
Remove spotlight usage
1 parent 1244ced commit 13c6d58

File tree

7 files changed

+0
-9
lines changed

7 files changed

+0
-9
lines changed

src/libcore/future/future.rs

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ use crate::task::{Context, Poll};
2424
/// `.await` the value.
2525
///
2626
/// [`Waker`]: ../task/struct.Waker.html
27-
#[doc(spotlight)]
2827
#[must_use = "futures do nothing unless you `.await` or poll them"]
2928
#[stable(feature = "futures_api", since = "1.36.0")]
3029
#[lang = "future_trait"]

src/libcore/iter/traits/iterator.rs

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

src/libcore/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@
9090
#![feature(custom_inner_attributes)]
9191
#![feature(decl_macro)]
9292
#![feature(doc_cfg)]
93-
#![feature(doc_spotlight)]
9493
#![feature(extern_types)]
9594
#![feature(fundamental)]
9695
#![feature(intrinsics)]

src/librustc_ast_passes/feature_gate.rs

-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
245245
include => external_doc
246246
cfg => doc_cfg
247247
masked => doc_masked
248-
spotlight => doc_spotlight
249248
alias => doc_alias
250249
keyword => doc_keyword
251250
);

src/librustc_span/symbol.rs

-2
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ symbols! {
269269
doc_cfg,
270270
doc_keyword,
271271
doc_masked,
272-
doc_spotlight,
273272
doctest,
274273
document_private_items,
275274
dotdoteq_in_patterns,
@@ -688,7 +687,6 @@ symbols! {
688687
Some,
689688
specialization,
690689
speed,
691-
spotlight,
692690
sse4a_target_feature,
693691
stable,
694692
staged_api,

src/libstd/io/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,6 @@ where
497497
/// [`&str`]: ../../std/primitive.str.html
498498
/// [slice]: ../../std/primitive.slice.html
499499
#[stable(feature = "rust1", since = "1.0.0")]
500-
#[doc(spotlight)]
501500
pub trait Read {
502501
/// Pull some bytes from this source into the specified buffer, returning
503502
/// how many bytes were read.
@@ -1228,7 +1227,6 @@ impl Initializer {
12281227
///
12291228
/// [`write_all`]: #method.write_all
12301229
#[stable(feature = "rust1", since = "1.0.0")]
1231-
#[doc(spotlight)]
12321230
pub trait Write {
12331231
/// Write a buffer into this writer, returning how many bytes were written.
12341232
///

src/libstd/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@
256256
#![feature(doc_cfg)]
257257
#![feature(doc_keyword)]
258258
#![feature(doc_masked)]
259-
#![feature(doc_spotlight)]
260259
#![feature(dropck_eyepatch)]
261260
#![feature(duration_constants)]
262261
#![feature(exact_size_is_empty)]

0 commit comments

Comments
 (0)