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:
Tobin C. Harding 2022-11-17 10:54:06 +11:00
parent 2bb08c21e5
commit 9788b6df88
2 changed files with 4 additions and 4 deletions

View File

@ -47,8 +47,8 @@ macro_rules! impl_array_newtype {
impl Eq for $thing {} impl Eq for $thing {}
impl ::core::hash::Hash for $thing { impl core::hash::Hash for $thing {
fn hash<H: ::core::hash::Hasher>(&self, state: &mut H) { fn hash<H: core::hash::Hasher>(&self, state: &mut H) {
(&self[..]).hash(state) (&self[..]).hash(state)
} }
} }

View File

@ -47,8 +47,8 @@ macro_rules! impl_array_newtype {
impl Eq for $thing {} impl Eq for $thing {}
impl ::core::hash::Hash for $thing { impl core::hash::Hash for $thing {
fn hash<H: ::core::hash::Hasher>(&self, state: &mut H) { fn hash<H: core::hash::Hasher>(&self, state: &mut H) {
(&self[..]).hash(state) (&self[..]).hash(state)
} }
} }