Register new snapshots.
This commit is contained in:
parent
f4f10dba29
commit
89b80faa8e
29 changed files with 182 additions and 486 deletions
|
|
@ -830,15 +830,6 @@ impl fmt::Show for String {
|
|||
}
|
||||
|
||||
#[unstable = "waiting on Hash stabilization"]
|
||||
#[cfg(stage0)]
|
||||
impl<H: hash::Writer> hash::Hash<H> for String {
|
||||
#[inline]
|
||||
fn hash(&self, hasher: &mut H) {
|
||||
(**self).hash(hasher)
|
||||
}
|
||||
}
|
||||
#[unstable = "waiting on Hash stabilization"]
|
||||
#[cfg(not(stage0))]
|
||||
impl<H: hash::Writer + hash::Hasher> hash::Hash<H> for String {
|
||||
#[inline]
|
||||
fn hash(&self, hasher: &mut H) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue