Browse Source

Remove const_fn and doc_spotlight features

Noah 3 years ago
parent
commit
0c2cecccc7
2 changed files with 4 additions and 4 deletions
  1. 2 2
      src/b9adc3327ec7d2820ab2db8bb3cc2a0196a8375d/mod.rs
  2. 2 2
      src/lib.rs

+ 2 - 2
src/b9adc3327ec7d2820ab2db8bb3cc2a0196a8375d/mod.rs

@@ -464,7 +464,7 @@ fn read_to_end_with_reservation<R: Read + ?Sized>(r: &mut R,
 /// [`BufReader`]: struct.BufReader.html
 /// [`&str`]: ../../std/primitive.str.html
 /// [slice]: ../../std/primitive.slice.html
-#[doc(spotlight)]
+#[doc(notable_trait)]
 pub trait Read {
     /// Pull some bytes from this source into the specified buffer, returning
     /// how many bytes were read.
@@ -936,7 +936,7 @@ impl Initializer {
 ///     Ok(())
 /// }
 /// ```
-#[doc(spotlight)]
+#[doc(notable_trait)]
 pub trait Write {
     /// Write a buffer into this object, returning how many bytes were written.
     ///

+ 2 - 2
src/lib.rs

@@ -3,8 +3,8 @@
 //! the [std documentation](https://doc.rust-lang.org/nightly/std/io/index.html)
 //! for a full description of the functionality.
 #![allow(stable_features,unused_features)]
-#![feature(question_mark,const_fn,copy_from_slice,
-	try_from,str_internals,align_offset,doc_spotlight,slice_internals)]
+#![feature(question_mark,copy_from_slice,
+	doc_notable_trait,try_from,str_internals,align_offset,slice_internals)]
 #![cfg_attr(feature="alloc",feature(alloc))]
 #![no_std]