Skip to content

Commit 9788b6d

Browse files
committed
Remove leading colons from impl_array_newtype methods
The leading colons are an artifact of Rust 1.29, remove them.
1 parent 2bb08c2 commit 9788b6d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

secp256k1-sys/src/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ macro_rules! impl_array_newtype {
4747

4848
impl Eq for $thing {}
4949

50-
impl ::core::hash::Hash for $thing {
51-
fn hash<H: ::core::hash::Hasher>(&self, state: &mut H) {
50+
impl core::hash::Hash for $thing {
51+
fn hash<H: core::hash::Hasher>(&self, state: &mut H) {
5252
(&self[..]).hash(state)
5353
}
5454
}

src/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ macro_rules! impl_array_newtype {
4747

4848
impl Eq for $thing {}
4949

50-
impl ::core::hash::Hash for $thing {
51-
fn hash<H: ::core::hash::Hasher>(&self, state: &mut H) {
50+
impl core::hash::Hash for $thing {
51+
fn hash<H: core::hash::Hasher>(&self, state: &mut H) {
5252
(&self[..]).hash(state)
5353
}
5454
}

0 commit comments

Comments
 (0)