about summary refs log tree commit diff
path: root/src/libstd/primitive_docs.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-13 01:50:03 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-11-21 14:55:32 +0100
commit15c30ddd69d6cc3fffe6d304c6dc968a5ed046f1 (patch)
tree95bc3d210dafa100d70199d2730b0378584898e7 /src/libstd/primitive_docs.rs
parentf1b882b55805c342e46ee4ca3beeef1d1fa2044b (diff)
downloadrust-15c30ddd69d6cc3fffe6d304c6dc968a5ed046f1.tar.gz
rust-15c30ddd69d6cc3fffe6d304c6dc968a5ed046f1.zip
Stabilize the `never_type`, written `!`.
Diffstat (limited to 'src/libstd/primitive_docs.rs')
-rw-r--r--src/libstd/primitive_docs.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs
index a72951c0346..b4495588c99 100644
--- a/src/libstd/primitive_docs.rs
+++ b/src/libstd/primitive_docs.rs
@@ -71,7 +71,6 @@ mod prim_bool { }
 /// write:
 ///
 /// ```
-/// #![feature(never_type)]
 /// # fn foo() -> u32 {
 /// let x: ! = {
 ///     return 123
@@ -201,7 +200,6 @@ mod prim_bool { }
 /// for example:
 ///
 /// ```
-/// #![feature(never_type)]
 /// # use std::fmt;
 /// # trait Debug {
 /// # fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result;
@@ -239,7 +237,7 @@ mod prim_bool { }
 /// [`Default`]: default/trait.Default.html
 /// [`default()`]: default/trait.Default.html#tymethod.default
 ///
-#[unstable(feature = "never_type", issue = "35121")]
+#[stable(feature = "never_type", since = "1.41.0")]
 mod prim_never { }
 
 #[doc(primitive = "char")]