Remove stability annotations from trait impl items

Remove `stable` stability annotations from inherent impls
This commit is contained in:
Vadim Petrochenkov
2015-11-06 00:13:46 +03:00
parent 7839827a39
commit 2ef07f0519
30 changed files with 0 additions and 39 deletions

View File

@@ -881,7 +881,6 @@ impl<T> fmt::Pointer for Arc<T> {
#[stable(feature = "rust1", since = "1.0.0")]
impl<T: Default> Default for Arc<T> {
#[stable(feature = "rust1", since = "1.0.0")]
fn default() -> Arc<T> {
Arc::new(Default::default())
}

View File

@@ -264,7 +264,6 @@ impl<T : ?Sized> Box<T> {
#[stable(feature = "rust1", since = "1.0.0")]
impl<T: Default> Default for Box<T> {
#[stable(feature = "rust1", since = "1.0.0")]
fn default() -> Box<T> {
box Default::default()
}
@@ -272,7 +271,6 @@ impl<T: Default> Default for Box<T> {
#[stable(feature = "rust1", since = "1.0.0")]
impl<T> Default for Box<[T]> {
#[stable(feature = "rust1", since = "1.0.0")]
fn default() -> Box<[T]> {
Box::<[T; 0]>::new([])
}

View File

@@ -508,7 +508,6 @@ impl<T: Default> Default for Rc<T> {
/// let x: Rc<i32> = Default::default();
/// ```
#[inline]
#[stable(feature = "rust1", since = "1.0.0")]
fn default() -> Rc<T> {
Rc::new(Default::default())
}