Remove leading colons from impl_array_newtype methods
The leading colons are an artifact of Rust 1.29, remove them.
This commit is contained in:
parent
2bb08c21e5
commit
9788b6df88
|
@ -47,8 +47,8 @@ macro_rules! impl_array_newtype {
|
|||
|
||||
impl Eq for $thing {}
|
||||
|
||||
impl ::core::hash::Hash for $thing {
|
||||
fn hash<H: ::core::hash::Hasher>(&self, state: &mut H) {
|
||||
impl core::hash::Hash for $thing {
|
||||
fn hash<H: core::hash::Hasher>(&self, state: &mut H) {
|
||||
(&self[..]).hash(state)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,8 +47,8 @@ macro_rules! impl_array_newtype {
|
|||
|
||||
impl Eq for $thing {}
|
||||
|
||||
impl ::core::hash::Hash for $thing {
|
||||
fn hash<H: ::core::hash::Hasher>(&self, state: &mut H) {
|
||||
impl core::hash::Hash for $thing {
|
||||
fn hash<H: core::hash::Hasher>(&self, state: &mut H) {
|
||||
(&self[..]).hash(state)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue