about summary refs log tree commit diff
path: root/src/libcore/option.rs
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-06-06 18:58:35 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-06-06 18:58:35 -0400
commita3b19c8858ec6dd29d71fde7bc2d78b2ac386d34 (patch)
tree64d843ca423a4ad874bf22bbc066994796778701 /src/libcore/option.rs
parentef72938a8b9171abc5c4b463d3e8345dc0e603a6 (diff)
downloadrust-a3b19c8858ec6dd29d71fde7bc2d78b2ac386d34.tar.gz
rust-a3b19c8858ec6dd29d71fde7bc2d78b2ac386d34.zip
Remove many unneeded feature annotations in the docs
When things get stabilized, they don't always have their docs updated to remove the gate.
Diffstat (limited to 'src/libcore/option.rs')
-rw-r--r--src/libcore/option.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libcore/option.rs b/src/libcore/option.rs
index 8d2d7252512..872186c09e2 100644
--- a/src/libcore/option.rs
+++ b/src/libcore/option.rs
@@ -474,7 +474,6 @@ impl<T> Option<T> {
     /// # Examples
     ///
     /// ```
-    /// # #![feature(core)]
     /// let x = Some("foo");
     /// assert_eq!(x.ok_or(0), Ok("foo"));
     ///
@@ -496,7 +495,6 @@ impl<T> Option<T> {
     /// # Examples
     ///
     /// ```
-    /// # #![feature(core)]
     /// let x = Some("foo");
     /// assert_eq!(x.ok_or_else(|| 0), Ok("foo"));
     ///
@@ -538,7 +536,6 @@ impl<T> Option<T> {
     /// # Examples
     ///
     /// ```
-    /// # #![feature(core)]
     /// let mut x = Some(4);
     /// match x.iter_mut().next() {
     ///     Some(&mut ref mut v) => *v = 42,