Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Commit 198f15f

Browse files
committed
Add crate to fully qualify path
During the MSRV bump we missed a few instances of `crate::` on fully qualified paths. Builds still because `util` is in scope. Add `crate::` to the front to _fully_ qualify fully qualified paths.
1 parent 561efa4 commit 198f15f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/ripemd160.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl crate::HashEngine for HashEngine {
7979
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
8080
#[repr(transparent)]
8181
pub struct Hash(
82-
#[cfg_attr(feature = "schemars", schemars(schema_with = "util::json_hex_string::len_20"))]
82+
#[cfg_attr(feature = "schemars", schemars(schema_with = "crate::util::json_hex_string::len_20"))]
8383
[u8; 20]
8484
);
8585

src/sha1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl crate::HashEngine for HashEngine {
7474
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
7575
#[repr(transparent)]
7676
pub struct Hash(
77-
#[cfg_attr(feature = "schemars", schemars(schema_with = "util::json_hex_string::len_20"))]
77+
#[cfg_attr(feature = "schemars", schemars(schema_with = "crate::util::json_hex_string::len_20"))]
7878
[u8; 20]
7979
);
8080

src/sha256.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl crate::HashEngine for HashEngine {
7474
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
7575
#[repr(transparent)]
7676
pub struct Hash(
77-
#[cfg_attr(feature = "schemars", schemars(schema_with = "util::json_hex_string::len_32"))]
77+
#[cfg_attr(feature = "schemars", schemars(schema_with = "crate::util::json_hex_string::len_32"))]
7878
[u8; 32]
7979
);
8080

src/sha512.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl crate::HashEngine for HashEngine {
8181
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
8282
#[repr(transparent)]
8383
pub struct Hash(
84-
#[cfg_attr(feature = "schemars", schemars(schema_with = "util::json_hex_string::len_64"))]
84+
#[cfg_attr(feature = "schemars", schemars(schema_with = "crate::util::json_hex_string::len_64"))]
8585
[u8; 64]
8686
);
8787

src/siphash24.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ impl crate::HashEngine for HashEngine {
199199
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
200200
#[repr(transparent)]
201201
pub struct Hash(
202-
#[cfg_attr(feature = "schemars", schemars(schema_with = "util::json_hex_string::len_8"))]
202+
#[cfg_attr(feature = "schemars", schemars(schema_with = "crate::util::json_hex_string::len_8"))]
203203
[u8; 8]
204204
);
205205

0 commit comments

Comments
 (0)