Remove 'since' from unstable attributes

This commit is contained in:
Brian Anderson
2015-01-21 16:15:40 -08:00
parent 0768892abe
commit 41278c5441
131 changed files with 695 additions and 690 deletions

View File

@@ -12,7 +12,7 @@
//! Operations on ASCII strings and characters
#![unstable(feature = "unnamed_feature", since = "1.0.0",
#![unstable(feature = "unnamed_feature",
reason = "unsure about placement and naming")]
use iter::IteratorExt;
@@ -23,7 +23,7 @@ use string::String;
use vec::Vec;
/// Extension methods for ASCII-subset only operations on owned strings
#[unstable(feature = "unnamed_feature", since = "1.0.0",
#[unstable(feature = "unnamed_feature",
reason = "would prefer to do this in a more general way")]
pub trait OwnedAsciiExt {
/// Convert the string to ASCII upper case:
@@ -38,7 +38,7 @@ pub trait OwnedAsciiExt {
}
/// Extension methods for ASCII-subset only operations on string slices
#[unstable(feature = "unnamed_feature", since = "1.0.0",
#[unstable(feature = "unnamed_feature",
reason = "would prefer to do this in a more general way")]
pub trait AsciiExt<T = Self> {
/// Check if within the ASCII range.
@@ -60,7 +60,7 @@ pub trait AsciiExt<T = Self> {
fn eq_ignore_ascii_case(&self, other: &Self) -> bool;
}
#[unstable(feature = "unnamed_feature", since = "1.0.0",
#[unstable(feature = "unnamed_feature",
reason = "would prefer to do this in a more general way")]
impl AsciiExt<String> for str {
#[inline]
@@ -86,7 +86,7 @@ impl AsciiExt<String> for str {
}
}
#[unstable(feature = "unnamed_feature", since = "1.0.0",
#[unstable(feature = "unnamed_feature",
reason = "would prefer to do this in a more general way")]
impl OwnedAsciiExt for String {
#[inline]
@@ -102,7 +102,7 @@ impl OwnedAsciiExt for String {
}
}
#[unstable(feature = "unnamed_feature", since = "1.0.0",
#[unstable(feature = "unnamed_feature",
reason = "would prefer to do this in a more general way")]
impl AsciiExt<Vec<u8>> for [u8] {
#[inline]
@@ -129,7 +129,7 @@ impl AsciiExt<Vec<u8>> for [u8] {
}
}
#[unstable(feature = "unnamed_feature", since = "1.0.0",
#[unstable(feature = "unnamed_feature",
reason = "would prefer to do this in a more general way")]
impl OwnedAsciiExt for Vec<u8> {
#[inline]
@@ -149,7 +149,7 @@ impl OwnedAsciiExt for Vec<u8> {
}
}
#[unstable(feature = "unnamed_feature", since = "1.0.0",
#[unstable(feature = "unnamed_feature",
reason = "would prefer to do this in a more general way")]
impl AsciiExt for u8 {
#[inline]
@@ -173,7 +173,7 @@ impl AsciiExt for u8 {
}
}
#[unstable(feature = "unnamed_feature", since = "1.0.0",
#[unstable(feature = "unnamed_feature",
reason = "would prefer to do this in a more general way")]
impl AsciiExt for char {
#[inline]
@@ -216,7 +216,7 @@ impl AsciiExt for char {
/// - Any other chars in the range [0x20,0x7e] are not escaped.
/// - Any other chars are given hex escapes.
/// - Unicode escapes are never generated by this function.
#[unstable(feature = "unnamed_feature", since = "1.0.0",
#[unstable(feature = "unnamed_feature",
reason = "needs to be updated to use an iterator")]
pub fn escape_default<F>(c: u8, mut f: F) where
F: FnMut(u8),