From 0e03fa87ba73adfdcdb3ec5352d3eef99f7e7018 Mon Sep 17 00:00:00 2001 From: Pantonshire Date: Wed, 24 Aug 2022 14:14:04 +0100 Subject: [PATCH] Fix doc tests for hex module --- src/encoding/hex.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/encoding/hex.rs b/src/encoding/hex.rs index c3f437d..db0b84b 100644 --- a/src/encoding/hex.rs +++ b/src/encoding/hex.rs @@ -118,7 +118,7 @@ mod sealed { /// encodes the most significant 4 bits, and the second byte encodes the least significant 4 bits. /// /// ``` -/// # use libshire::hex::byte_to_hex_lower; +/// # use libshire::encoding::hex::byte_to_hex_lower; /// assert_eq!(byte_to_hex_lower(15), (b'0', b'f')); /// assert_eq!(byte_to_hex_lower(139), (b'8', b'b')); /// ``` @@ -145,7 +145,7 @@ fn nybble_to_hex_lower(nybble: u8) -> u8 { /// encodes the most significant 4 bits, and the second byte encodes the least significant 4 bits. /// /// ``` -/// # use libshire::hex::byte_to_hex_upper; +/// # use libshire::encoding::hex::byte_to_hex_upper; /// assert_eq!(byte_to_hex_upper(15), (b'0', b'F')); /// assert_eq!(byte_to_hex_upper(139), (b'8', b'B')); /// ```