liballoc: remove unneeded allow(deprecated)

This commit is contained in:
Ralf Jung 2018-12-20 22:51:08 +01:00
parent c775c2fe96
commit c11e514e9d
2 changed files with 0 additions and 3 deletions

View File

@ -380,7 +380,6 @@ impl<'a, B: ?Sized> Hash for Cow<'a, B>
}
#[stable(feature = "rust1", since = "1.0.0")]
#[allow(deprecated)]
impl<'a, T: ?Sized + ToOwned> AsRef<T> for Cow<'a, T> {
fn as_ref(&self) -> &T {
self

View File

@ -1,5 +1,3 @@
#![allow(deprecated)]
//! Single-threaded reference-counting pointers. 'Rc' stands for 'Reference
//! Counted'.
//!