mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
liballoc: remove unneeded allow(deprecated)
This commit is contained in:
parent
c775c2fe96
commit
c11e514e9d
@ -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
|
||||
|
@ -1,5 +1,3 @@
|
||||
#![allow(deprecated)]
|
||||
|
||||
//! Single-threaded reference-counting pointers. 'Rc' stands for 'Reference
|
||||
//! Counted'.
|
||||
//!
|
||||
|
Loading…
Reference in New Issue
Block a user